We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4348091 commit ccbf404Copy full SHA for ccbf404
preSites.js
@@ -32,7 +32,10 @@ const envFile = "sites/env/.env.pages";
32
const envConfig = shell.cat(envFile);
33
const newEnvConfig = envConfig.split("\n").map((row) => {
34
if (row.includes("/playground.html")) {
35
- return row.replace("/playground.html", "/tiny-vue-web-doc/playground.html");
+ return row.replace(
36
+ /VITE_PLAYGROUND_URL=(.+)playground.html/,
37
+ "VITE_PLAYGROUND_URL=/tiny-vue-web-doc/playground.html"
38
+ );
39
}
40
return row;
41
});
0 commit comments