Skip to content

Commit 333a109

Browse files
committed
📝 Fix typo in README
1 parent d2cc098 commit 333a109

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,19 +249,19 @@ To avoid caching and make the main script always be updated after each page refr
249249
250250
To enable the proxy script, provide a `proxyScript` configuration to the plugin constructor.
251251

252-
`baseUrl` should be the base URL of the dev server, and the `filename` is for the proxy script.
252+
`baseURL` should be the base URL of the dev server, and the `filename` is for the proxy script.
253253

254254
> Note: `filename` will be interpolated.
255255
256-
After starting the dev server, you can find your proxy script under `<baseUrl>/<filename>`. In the example below, assume the entry filename is `index.js`, you should visit `http://127.0.0.1:12345/index.proxy.user.js` to install the proxy script on TamperMonkey.
256+
After starting the dev server, you can find your proxy script under `<baseURL>/<filename>`. In the example below, assume the entry filename is `index.js`, you should visit `http://127.0.0.1:12345/index.proxy.user.js` to install the proxy script on TamperMonkey.
257257

258258
See [Issue#63](https://github.com/momocow/webpack-userscript/issues/63) for more information.
259259

260260
```js
261261
new WebpackUserscript({
262262
// <...your other configs...>,
263263
proxyScript: {
264-
baseUrl: 'http://127.0.0.1:12345',
264+
baseURL: 'http://127.0.0.1:12345',
265265
filename: '[basename].proxy.user.js',
266266
},
267267
});

0 commit comments

Comments
 (0)