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 dc7a206 commit 571d91cCopy full SHA for 571d91c
src/index.js
@@ -68,7 +68,7 @@ const serverStr = `
68
const proxyStr = `
69
proxy: {
70
// eslint-disable-next-line no-useless-escape
71
- '^(.+)\\.php([\\/?#])?': 'http://localhost:8000/',
+ '^(.+)\\.php': 'http://localhost:8000/',
72
},`
73
if (!viteConfigFileContent.match(regexStartOfServer)) {
74
viteConfigFileContent = viteConfigFileContent.replace(regexStartOfConfig, `$1${serverStr}`)
0 commit comments