gemi 0.25.2 → 0.25.4
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/bin/gemi.js
CHANGED
|
@@ -33810,7 +33810,7 @@ async function startDevServer() {
|
|
|
33810
33810
|
process.env.ROOT_DIR = rootDir;
|
|
33811
33811
|
process.env.APP_DIR = appDir;
|
|
33812
33812
|
async function handleDevRequests(req) {
|
|
33813
|
-
const { pathname, host } = new URL(req.url);
|
|
33813
|
+
const { pathname, host, protocol } = new URL(req.url);
|
|
33814
33814
|
if (pathname.startsWith("/render-error.js")) {
|
|
33815
33815
|
return new Response("window.render_error = true", {
|
|
33816
33816
|
headers: {
|
|
@@ -33820,7 +33820,7 @@ async function startDevServer() {
|
|
|
33820
33820
|
}
|
|
33821
33821
|
if (pathname.startsWith("/refresh.js")) {
|
|
33822
33822
|
return new Response(`
|
|
33823
|
-
import RefreshRuntime from "
|
|
33823
|
+
import RefreshRuntime from "${protocol}//${host}/@react-refresh";
|
|
33824
33824
|
RefreshRuntime.injectIntoGlobalHook(window);
|
|
33825
33825
|
window.$RefreshReg$ = () => {};
|
|
33826
33826
|
window.$RefreshSig$ = () => (type) => type;
|
|
@@ -35288,5 +35288,5 @@ program.command("app:route-manifest").action(async () => {
|
|
|
35288
35288
|
});
|
|
35289
35289
|
program.parse();
|
|
35290
35290
|
|
|
35291
|
-
//# debugId=
|
|
35291
|
+
//# debugId=7CB07B764E7D274764756E2164756E21
|
|
35292
35292
|
//# sourceMappingURL=gemi.js.map
|