Re-deploy
parent
c4baad332c
commit
226e0b5838
|
@ -17,8 +17,7 @@ FarmBot::Application.routes.draw do
|
|||
devise_for :users, :controllers => {:registrations => "registrations"}
|
||||
|
||||
# Routes for the single page Javascript app.
|
||||
web_app_path = "/app"
|
||||
get web_app_path, to: 'dashboard#index', as: :dashboard
|
||||
match web_app_path + "/*path", to: redirect(web_app_path), via: :all
|
||||
get "/app", to: 'dashboard#index', as: :dashboard
|
||||
match "/app/*path", to: redirect("/app"), via: :all
|
||||
|
||||
end
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
language: ruby
|
||||
rvm:
|
||||
- 2.2.3
|
||||
before_script:
|
||||
- npm install
|
||||
services:
|
||||
- mongodb
|
||||
notifications:
|
||||
irc:
|
||||
- "chat.freenode.net#farmbot"
|
||||
env:
|
||||
# A 'fake' secret token for use in our CI env.
|
||||
# Don't worry- this isn't the real one.
|
||||
- SECRET_TOKEN=e815982094c62436066bafc9151f2d33c4a351a776654cb7487476de260a4592
|
Loading…
Reference in New Issue