Sha256: 7daf2b3c93c8c0405dfcdfa417a74407f0bf12a774bdb161b7e77cce14518a3d
Contents?: true
Size: 339 Bytes
Versions: 6
Compression:
Stored size: 339 Bytes
Contents
require "snowpack/web" require "rack" Snowpack::Web.routes do |application| use Rack::Lint use Rack::Static, urls: ["/assets"], root: "public" use Rack::Session::Cookie, key: "<%= application_path %>.session", secret: application[:settings].session_secret, expire_after: 10 * 365 * 24 * 60 * 60 # 10 years end
Version data entries
6 entries across 6 versions & 1 rubygems