Commit 0923c97f authored by Aral Balkan's avatar Aral Balkan

Add default route to forward to main site

(So that hitting builder.better.fyi in the browser
with a GET request will forward to better.fyi.)
parent b01e7d03
......@@ -78,6 +78,13 @@ class GitlabWebhookServer
# Routes
#
# Default
express.get '/', (request, response) =>
response.redirect 'https://better.fyi'
#
# Web hook
#
express.post '/build/:token', (request, response) =>
@debug "Got request with token #{request.params.token}…"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment