This website works better with JavaScript.
Home
Explore
Help
Sign In
simulacrumparty
/
vlv-search
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Run app if script called directly
master
Dylan Baker
5 years ago
parent
6844ee3ce1
commit
7a0561e08b
1 changed files
with
2 additions
and
0 deletions
Split View
Show Diff Stats
2
0
web/server.rb
+ 2
- 0
web/server.rb
View File
@@ -79,4 +79,6 @@ class VLVSearch < Sinatra::Base
79
79
!!session[:user_id]
80
80
end
81
81
end
82
+
83
+ run! if __FILE__ == $0
82
84
end
Write
Preview
Loading…
Cancel
Save