Commit 58ee815 1 parent eaa3c82 commit 58ee815 Copy full SHA for 58ee815
File tree 1 file changed +8
-5
lines changed
servers/fdr/src/services/revalidator
1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -47,11 +47,14 @@ export class RevalidatorServiceImpl implements RevalidatorService {
47
47
environment : baseUrl . toURL ( ) . toString ( ) ,
48
48
} ) ;
49
49
app ?. logger . log ( "Revalidating paths at" , baseUrl . toURL ( ) . toString ( ) ) ;
50
- await client . revalidateAllV3 ( {
51
- host : baseUrl . hostname ,
52
- basePath : baseUrl . path != null ? baseUrl . path : "" ,
53
- xFernHost : baseUrl . hostname ,
54
- } ) ;
50
+ // await client.revalidateAllV3({
51
+ // host: baseUrl.hostname,
52
+ // basePath: baseUrl.path != null ? baseUrl.path : "",
53
+ // xFernHost: baseUrl.hostname,
54
+ // });
55
+ await fetch (
56
+ `https://${ baseUrl . hostname } ${ baseUrl . path || "" } /api/fern-docs/revalidate-all/v3`
57
+ ) ;
55
58
return {
56
59
successful : [ ] ,
57
60
failed : [ ] ,
You can’t perform that action at this time.
0 commit comments