Files
codeocean/config/initializers/session_store.rb
Sebastian Serth 237c225732 Add support for running CodeOcean under a subpath
* Also refactor (JavaScript) routes
2021-07-06 19:33:55 +02:00

9 lines
252 B
Ruby

# frozen_string_literal: true
# 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,
path: Rails.application.config.relative_url_root