Method: Waitress::Vhost#liburi
- Defined in:
- lib/waitress/vhost.rb
#liburi(name = nil) ⇒ Object
Change the uri that Libraries should be accessed from. Libraries present in the “libs/” directory are served from this URI. This URI is relative to the base “/” uri for the VirtualHost, for example, a LibUri of “libraries/” (the default) will be accessed by “your.site/libraries/lib_name”
120 121 122 123 |
# File 'lib/waitress/vhost.rb', line 120 def liburi name=nil @liburi = name unless name.nil? @liburi end |