             next()
 
     # Static files handler
-    @use STATIC_URL, express.static staticDir
+    @use STATIC_PATH, express.static staticDir
     @use config.url_prefix + 'embed', redirectHandler
     # Redirect all trailing slash urls to slashless urls
     @use slashes(false)

            sendResponse()
    request.on 'error', (error) =>
        console.error 'Error making API request', error
        return


server.configure ->
    staticDir = __dirname + '/../static'

]

staticFileHelper = (fpath) ->
    STATIC_PATH + fpath

get_language = (host) ->
    if host.match /^servicemap\./
