diff options
author | mms <git@sapka.me> | 2025-01-05 22:34:37 +0100 |
---|---|---|
committer | mms <git@sapka.me> | 2025-01-05 22:34:37 +0100 |
commit | 628fcf941c322dd0ed24a643c58394392484740e (patch) | |
tree | 87d1812f5bb27e9edfb9d8b812e03a3e115d0307 /new/splash/bin/server.rb | |
parent | 89c6116c671c7701f86854111dd58a1933551b6e (diff) |
bookmark dump
Diffstat (limited to 'new/splash/bin/server.rb')
-rwxr-xr-x | new/splash/bin/server.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/new/splash/bin/server.rb b/new/splash/bin/server.rb index 9da053ae..15b34329 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 |