-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change editor from ACE to Monaco (#340)
migrate to monaco editor
- Loading branch information
Showing
12 changed files
with
4,135 additions
and
2,110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
const express = require('express') | ||
const path = require('node:path') | ||
const { config } = require('dotenv') | ||
config() | ||
const app = express() | ||
const PORT = process.env.DIST_SERVER_PORT || 8060 | ||
app.use(express.static(path.join(__dirname, '..', 'dist'))) | ||
app.get("*", (req, res) => { | ||
res.sendFile(path.join(__diname, '..', 'dist', 'index.html')) | ||
}) | ||
app.listen(PORT, () => { console.log(`aggr dist server started on ${PORT}`) }) |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.