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 74041d6 commit ab09c5bCopy full SHA for ab09c5b
src/lib/utils/purge.ts
@@ -2,7 +2,7 @@
2
3
const purgePath = 'http://varnish'
4
5
-/**Purges the given path from the nginx cache*/
+/**Purges the given path from the varnish cache*/
6
export default async function purgeRoute(path: string) {
7
if (path.startsWith('/')) throw new SyntaxError(`path "${path}" cannot be absolute.`)
8
await fetch(`${purgePath}/${path}`)
0 commit comments