 git.short (commitId) ->
     config.git_commit_id = commitId
 
-STATIC_URL = config.static_path
+STATIC_PATH = config.static_path
 ALLOWED_URLS = [
     /^\/$/
     /^\/unit\/\d+$/, # with id

]

staticFileHelper = (fpath) ->
    STATIC_URL + fpath

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

            next()

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