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 2a2da7e commit cae0a91Copy full SHA for cae0a91
packages/runtime/src/templates/server.ts
@@ -40,12 +40,11 @@ class NetlifyNextServer extends NextServer {
40
}
41
42
private netlifyRevalidate(url: string) {
43
- const path = new URL(url).pathname
44
const domain = this.hostname
45
const siteId = process.env.SITE_ID
46
47
return new Promise((resolve, reject) => {
48
- const body = JSON.stringify({ paths: [path], domain })
+ const body = JSON.stringify({ paths: [url], domain })
49
50
const req = https
51
.request(
0 commit comments