summaryrefslogtreecommitdiff
path: root/new/splash/bin/server.rb
diff options
context:
space:
mode:
Diffstat (limited to 'new/splash/bin/server.rb')
-rwxr-xr-xnew/splash/bin/server.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/new/splash/bin/server.rb b/new/splash/bin/server.rb
index 9da053a..15b3432 100755
--- a/new/splash/bin/server.rb
+++ b/new/splash/bin/server.rb
@@ -1,10 +1,10 @@
#!/usr/bin/env ruby
+# frozen_string_literal: true
-require_relative "../lib/splash.rb"
-require_relative "../../bin/server.rb"
+require_relative '../lib/splash'
+require_relative '../../bin/server'
server_class = Crys::Splash::Server
-root = File.dirname(File.dirname(__FILE__)) + "/output"
-Crys::ServerRunner.new(root: root, server_class: server_class, section: "Splash Page").serve
-
+root = "#{File.dirname(File.dirname(__FILE__))}/output"
+Crys::ServerRunner.new(root: root, server_class: server_class, section: 'Splash Page').serve