diff options
| author | realtradam <[email protected]> | 2024-05-22 14:59:24 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2024-05-22 14:59:24 -0400 |
| commit | 6cf41b4a5c55c91974e31ac032d969c7481b3e80 (patch) | |
| tree | d0233a35a60f33f6d7115a26139fd6e61f96c15a /config/routes.rb | |
| parent | 3321db8f9c549103ebae46bf025a3135208a2e3b (diff) | |
| download | gameHolster-6cf41b4a5c55c91974e31ac032d969c7481b3e80.tar.gz gameHolster-6cf41b4a5c55c91974e31ac032d969c7481b3e80.zip | |
extract frontend
Diffstat (limited to 'config/routes.rb')
| -rw-r--r-- | config/routes.rb | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/config/routes.rb b/config/routes.rb index 078f1df..e738250 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -3,13 +3,13 @@ Rails.application.routes.draw do namespace :v1 do # isolated domain, do not allow auth here - constraints host: 'localhost' do + #constraints host: 'localhost' do # GAMES get 'game/:user/:game/*path/:file', to: 'games#play' get 'game/:user/:game/:file', to: 'games#play' - end + #end - constraints host: "127.0.0.1" do + #constraints host: "localhost" do # USERS get 'users/index', to: 'users#index' @@ -21,21 +21,13 @@ Rails.application.routes.draw do get 'games_img/:user/:game', to: 'games#show_img' #resources :games - # BLOGS - get 'blogs/index', to: 'blog#index' - post 'blogs/create', to: 'blog#create' - get '/show/:id', to: 'blog#show' - delete '/destroy/:id', to: 'blog#destroy' - # AUTH get 'auth/callback', to: 'auth#callback' get 'auth/data', to: 'auth#data' - end + #end end end - get '/*path' => 'homepage#index' - root 'homepage#index' # Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html # Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500. |
