diff --git a/rainfall-frontend/src/components/PreviewSiteButton.vue b/rainfall-frontend/src/components/PreviewSiteButton.vue index d7e81be..b741d3f 100644 --- a/rainfall-frontend/src/components/PreviewSiteButton.vue +++ b/rainfall-frontend/src/components/PreviewSiteButton.vue @@ -60,7 +60,7 @@ export default { this.previewLoading = false; this.previewError = 'An error occurred while generating the preview'; } else { - setTimeout(this.pollForPreview, import.meta.env.VITE_PREVIEW_POLL_INTERVAL); + setTimeout(this.pollForPreview, import.meta.env.VITE_PREVIEW_POLL_MS); } return; }