Skip to content

Commit fa504b0

Browse files
committed
Publish
1 parent d79cf7b commit fa504b0

5 files changed

Lines changed: 11 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
-
99
-->
1010

11+
# 5.0.2
12+
## Fixes and improvements
13+
- Fix `sim` after dependency update
14+
1115
# 5.0.1
1216
## Fixes and improvements
1317
- Fix an issue with `start`

Execute.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ class Simulator {
280280
}
281281
});
282282
// CORS
283-
rapids.options("*", withSession, async (req, res) => {
283+
rapids.options("*any", withSession, async (req, res) => {
284284
res.set("Access-Control-Allow-Origin", "*");
285285
res.set("Access-Control-Allow-Headers", "Content-Type");
286286
res.send("Ok");
@@ -321,7 +321,7 @@ ${Str.FG_GRAY}╚═╝ ╚═╝╚══════╝╚═╝ ╚═
321321
});
322322
}));
323323
const pub = express();
324-
pub.get("/*", withSession, (req, res) => {
324+
pub.get("*any", withSession, (req, res) => {
325325
res.sendFile(req.path, {
326326
root: this.pathToRoot.with("public").toString(),
327327
});

Execute.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ class Simulator {
376376
}
377377
});
378378
// CORS
379-
rapids.options("*", withSession, async (req, res) => {
379+
rapids.options("*any", withSession, async (req, res) => {
380380
res.set("Access-Control-Allow-Origin", "*");
381381
res.set("Access-Control-Allow-Headers", "Content-Type");
382382
res.send("Ok");
@@ -421,7 +421,7 @@ ${Str.FG_GRAY}╚═╝ ╚═╝╚══════╝╚═╝ ╚═
421421
})
422422
);
423423
const pub = express();
424-
pub.get("/*", withSession, (req, res) => {
424+
pub.get("*any", withSession, (req, res) => {
425425
res.sendFile(req.path, {
426426
root: this.pathToRoot.with("public").toString(),
427427
});

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@merrymake/cli",
3-
"version": "5.0.1",
3+
"version": "5.0.2",
44
"description": "",
55
"main": "index.js",
66
"type": "module",

0 commit comments

Comments
 (0)