Add support for running CodeOcean under a subpath
* Also refactor (JavaScript) routes
This commit is contained in:
@ -2,4 +2,7 @@
|
||||
|
||||
# Be sure to restart your server when you modify this file.
|
||||
|
||||
Rails.application.config.session_store :cookie_store, key: '_code_ocean_session', expire_after: 1.month
|
||||
Rails.application.config.session_store :cookie_store,
|
||||
key: '_code_ocean_session',
|
||||
expire_after: 1.month,
|
||||
path: Rails.application.config.relative_url_root
|
||||
|
Reference in New Issue
Block a user