```ruby
require 'rubygems'
require 'ostruct'

require 'sinatra' unless defined?(Sinatra)

configure do
  SiteConfig = OpenStruct.new(
    :title => 'UVA Library Geoportal',
    :description => '',
    :geonetwork_url => 'http://libsvr35.lib.virginia.edu',
    :geonetwork_port => ':8080',
    :geonetwork_mount => 'geonetwork',
    :geoserver_url => 'http://libsvr35.lib.virginia.edu/geoserver',
    :library_catalog => 'http://search.lib.virginia.edu/catalog/'
  )

  # Load modules
  $LOAD_PATH.unshift("#{File.dirname(__FILE__)}/lib/")
  Dir.glob("#{File.dirname(__FILE__)}/lib/*.rb") {|lib| require File.basename(lib, '.*') }
end

configure :development do

end

configure :production do

end

```

Use the un-proxied version of geoserver API
user
```ruby
require 'rubygems'
require 'ostruct'

require 'sinatra' unless defined?(Sinatra)

configure do
  SiteConfig = OpenStruct.new(
    :title => 'UVA Library Geoportal',
    :description => '',
    :geonetwork_url => 'http://libsvr35.lib.virginia.edu',
    :geonetwork_port => ':8080',
    :geonetwork_mount => 'geonetwork',
    :geoserver_url => 'http://libsvr35.lib.virginia.edu:8080/geoserver',
    :library_catalog => 'http://search.lib.virginia.edu/catalog/'
  )

  # Load modules
  $LOAD_PATH.unshift("#{File.dirname(__FILE__)}/lib/")
  Dir.glob("#{File.dirname(__FILE__)}/lib/*.rb") {|lib| require File.basename(lib, '.*') }
end

configure :development do

end

configure :production do

end

```
assistant