Skip to content

Commit

Permalink
chore: update connect history api (#201)
Browse files Browse the repository at this point in the history
xigongdaEricyang authored Jan 30, 2023
1 parent 3052781 commit d4657d7
Showing 3 changed files with 2 additions and 17 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -34,7 +34,6 @@ docker/data
docker/tmp
.travis.yml
appveyor.yml
server/config.json
!dashboard.service.js
!webserver.js
!startWebserver.js
15 changes: 0 additions & 15 deletions config.json

This file was deleted.

3 changes: 2 additions & 1 deletion webserver.js
Original file line number Diff line number Diff line change
@@ -17,6 +17,7 @@ const config = loadYamlConfig();

const app = express();

app.use(express.static('public'));
app.use(historyApiCallback());
app.use(express.static('public'));

startWebserver(app, config, pkg.version);

0 comments on commit d4657d7

Please sign in to comment.