Allow /item as URL on test server
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ ROOT = './dist/'
|
||||
|
||||
app = express()
|
||||
|
||||
app.get '/item/*', (request, response)->
|
||||
app.get '/item(/*)?', (request, response)->
|
||||
console.log ">>> index.html (for #{request.path})"
|
||||
response.set 'Content-Type', 'text/html'
|
||||
response.sendFile 'index.html', root:ROOT
|
||||
|
||||
Reference in New Issue
Block a user