mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 14:17:22 +01:00
fix hard links for new client (#8986)
This commit is contained in:
5
website/server/libs/client.js
Normal file
5
website/server/libs/client.js
Normal file
@@ -0,0 +1,5 @@
|
||||
const ROOT = `${__dirname}/../../../`;
|
||||
|
||||
export function serveClient (expressRes) {
|
||||
return expressRes.sendFile('./dist-client/index.html', {root: ROOT});
|
||||
}
|
||||
Reference in New Issue
Block a user