@spica/cli 0.18.36 → 0.18.38
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/index.js +5 -5
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2251,8 +2251,8 @@ Use --force to delete existing one.`
|
|
|
2251
2251
|
proxy_set_header Connection "Upgrade";
|
|
2252
2252
|
}
|
|
2253
2253
|
|
|
2254
|
-
location
|
|
2255
|
-
proxy_pass http://${name}-spica
|
|
2254
|
+
location / {
|
|
2255
|
+
proxy_pass http://${name}-spica/;
|
|
2256
2256
|
proxy_set_header Host $host;
|
|
2257
2257
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
2258
2258
|
proxy_set_header X-Forwarded-Port $server_port;
|
|
@@ -2274,14 +2274,14 @@ Use --force to delete existing one.`
|
|
|
2274
2274
|
}
|
|
2275
2275
|
});
|
|
2276
2276
|
console.info(`
|
|
2277
|
-
Spica ${name} is serving on ${publicHost}
|
|
2278
|
-
Open your browser on ${publicHost}/
|
|
2277
|
+
Spica ${name} is serving on ${publicHost}.
|
|
2278
|
+
Open your browser on ${publicHost}/dashboard to login.
|
|
2279
2279
|
|
|
2280
2280
|
Identitifer: ${identifier}
|
|
2281
2281
|
Password: ${password}
|
|
2282
2282
|
`);
|
|
2283
2283
|
if (options.open) {
|
|
2284
|
-
await open(`${publicHost}
|
|
2284
|
+
await open(`${publicHost}`);
|
|
2285
2285
|
}
|
|
2286
2286
|
}
|
|
2287
2287
|
function start_default(program2) {
|