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 61bb23f commit 3d65752Copy full SHA for 3d65752
packages/overmind-website/backend/index.js
@@ -101,8 +101,8 @@ const apis = getApis()
101
102
const searchData = getSearchData()
103
104
-app.use(express.static('dist'))
105
-app.use('/images', express.static('images'))
+app.use(express.static(path.join(__dirname, '..', 'dist')))
+app.use('/images', express.static(path.join(__dirname, '..', 'images')))
106
app.get('/backend/guides', (_, res) =>
107
res.send(IS_PRODUCTION ? guides : getGuides())
108
)
0 commit comments