Package Anidev Skill and standalone API panel integration
This commit is contained in:
1 parent
8e4e8e6ef0
commit
61b05abe44
43 files changed
+1859
-57
No files matched your search
+4
-2
@@ -12,7 +12,7 @@ const types = {
|
||||
".md": "text/plain; charset=utf-8",
|
||||
};
|
||||
const port = Number(process.env.PORT || 4173);
|
||||
http
|
||||
const server = http
|
||||
.createServer(async (req, res) => {
|
||||
try {
|
||||
const pathname = decodeURIComponent(
|
||||
@@ -35,5 +35,7 @@ http
|
||||
}
|
||||
})
|
||||
.listen(port, "127.0.0.1", () =>
|
||||
console.log(`Anidev Design System: http://127.0.0.1:${port}`),
|
||||
console.log(
|
||||
`Anidev Design System: http://127.0.0.1:${server.address().port}`,
|
||||
),
|
||||
);
|
||||
Reference in new issue
Block a user