Skip to content

Commit

Permalink
feat: 锁定 Rocket 配置
Browse files Browse the repository at this point in the history
  • Loading branch information
KonghaYao committed Nov 10, 2024
1 parent 1a0a592 commit d3749e2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions Rocket.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[debug]
address = "0.0.0.0"
port = 8000

[release]
address = "0.0.0.0"
port = 8000
4 changes: 2 additions & 2 deletions scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ for (const iterator of packages) {
testHTML: true,
previewImage: {},
threads: {
service: new RemoteConvertManager(() => 'http://127.0.0.0:8000/woff2')
service: new RemoteConvertManager(() => 'http://0.0.0.0:8000/woff2')
},
logger: {
settings: {
minLevel: 4,
// minLevel: 4,
},
},
});
Expand Down

0 comments on commit d3749e2

Please sign in to comment.