examples/http/rack_server_https.rb in polyphony-0.15 vs examples/http/rack_server_https.rb in polyphony-0.16
- old
+ new
@@ -1,10 +1,9 @@
# frozen_string_literal: true
-require 'modulation'
+require 'bundler/setup'
+require 'polyphony/http'
require 'localhost/authority'
-
-Polyphony = import('../../lib/polyphony')
app_path = ARGV.first || File.expand_path('./config.ru', __dir__)
app = Polyphony::HTTP::Rack.load(app_path)
authority = Localhost::Authority.fetch
\ No newline at end of file