summaryrefslogtreecommitdiff
path: root/config.ru
diff options
context:
space:
mode:
authorpdp8 <pdp8@pdp8.info>2023-04-23 02:37:14 +0200
committerpdp8 <pdp8@pdp8.info>2023-04-23 02:37:14 +0200
commitf8afb7dec94bf9248b4032b7e95549361f190f3c (patch)
tree5a13b87f674ad87e7b325c16da7edd5e612442cc /config.ru
initial import
Diffstat (limited to 'config.ru')
-rw-r--r--config.ru6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.ru b/config.ru
new file mode 100644
index 0000000..e2aedfd
--- /dev/null
+++ b/config.ru
@@ -0,0 +1,6 @@
+require_relative './application.rb'
+require 'rack/protection'
+use Rack::Protection, :except => :session_hijacking
+use Rack::Reloader
+# use Rack::ContentType, "application/ld+json"
+run Application.new