We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80ba415 commit 1d1836cCopy full SHA for 1d1836c
src/server.ts
@@ -1,3 +1,5 @@
1
+import path from 'path'
2
+
3
const express = require('express')
4
const sslRedirect = require('heroku-ssl-redirect')
5
const app = express()
@@ -41,11 +43,7 @@ app.use(passport.session())
41
43
app.set('port', (process.env.PORT || 3000))
42
44
45
app.use(compression())
-app.use(express.static(`${__dirname}/frontend/public/`))
-
46
-app.get('/recruitment', (req:any, res:any) => {
47
- res.redirect('https://gitpay.me/#/recruitment')
48
-})
+app.use(express.static(path.join(__dirname, '../frontend/public')))
49
50
load.init(app)
51
0 commit comments