openfox 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-JFQEATRC.js → chunk-3WOUSUW7.js} +4 -4
- package/dist/{chunk-D5ZF2VDN.js → chunk-YMUIRZUI.js} +2 -2
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/package.json +1 -1
- package/dist/{serve-EOKIXTWM.js → serve-TL34LE77.js} +2 -2
- package/dist/server/index.js +1 -1
- package/package.json +1 -1
|
@@ -5735,7 +5735,7 @@ async function createServerHandle(config) {
|
|
|
5735
5735
|
logLevel: "warn"
|
|
5736
5736
|
});
|
|
5737
5737
|
app.use(viteServer.middlewares);
|
|
5738
|
-
app.get("/src/styles
|
|
5738
|
+
app.get("/src/styles/*path", async (req, res) => {
|
|
5739
5739
|
try {
|
|
5740
5740
|
const result = await viteServer.transformRequest(req.path.substring(1));
|
|
5741
5741
|
if (!result) {
|
|
@@ -5761,7 +5761,7 @@ async function createServerHandle(config) {
|
|
|
5761
5761
|
res.set("Content-Type", "audio/mpeg");
|
|
5762
5762
|
}
|
|
5763
5763
|
}));
|
|
5764
|
-
app.get("
|
|
5764
|
+
app.get("/*path", (req, res) => {
|
|
5765
5765
|
if (req.path.startsWith("/api/")) {
|
|
5766
5766
|
return;
|
|
5767
5767
|
}
|
|
@@ -5799,7 +5799,7 @@ async function createServerHandle(config) {
|
|
|
5799
5799
|
res.status(404).send("Web UI not built. Run `npm run build:web`");
|
|
5800
5800
|
});
|
|
5801
5801
|
});
|
|
5802
|
-
app.get("
|
|
5802
|
+
app.get("/*path", (req, res) => {
|
|
5803
5803
|
if (req.path.startsWith("/api/") || req.path.startsWith("/assets/") || req.path.startsWith("/sounds/") || req.path === "/fox.svg") {
|
|
5804
5804
|
return;
|
|
5805
5805
|
}
|
|
@@ -5863,4 +5863,4 @@ export {
|
|
|
5863
5863
|
createServerHandle,
|
|
5864
5864
|
createServer
|
|
5865
5865
|
};
|
|
5866
|
-
//# sourceMappingURL=chunk-
|
|
5866
|
+
//# sourceMappingURL=chunk-3WOUSUW7.js.map
|
|
@@ -129,7 +129,7 @@ async function runCli(options) {
|
|
|
129
129
|
await runInitWithSelect(mode);
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
-
const { runServe } = await import("./serve-
|
|
132
|
+
const { runServe } = await import("./serve-TL34LE77.js");
|
|
133
133
|
await runServe({
|
|
134
134
|
mode,
|
|
135
135
|
port: values.port ? parseInt(values.port) : void 0,
|
|
@@ -142,4 +142,4 @@ async function runCli(options) {
|
|
|
142
142
|
export {
|
|
143
143
|
runCli
|
|
144
144
|
};
|
|
145
|
-
//# sourceMappingURL=chunk-
|
|
145
|
+
//# sourceMappingURL=chunk-YMUIRZUI.js.map
|
package/dist/cli/dev.js
CHANGED
package/dist/cli/index.js
CHANGED
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3WOUSUW7.js";
|
|
4
4
|
import {
|
|
5
5
|
loadConfig
|
|
6
6
|
} from "./chunk-FUUYYDVG.js";
|
|
@@ -174,4 +174,4 @@ async function runServe(options) {
|
|
|
174
174
|
export {
|
|
175
175
|
runServe
|
|
176
176
|
};
|
|
177
|
-
//# sourceMappingURL=serve-
|
|
177
|
+
//# sourceMappingURL=serve-TL34LE77.js.map
|
package/dist/server/index.js
CHANGED