You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/_snippets/manual-setup-astro.mdx
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,9 +90,9 @@ To set up the Trigger Client for your project, follow these steps:
90
90
91
91
By following these steps, you'll configure the Trigger Client to work with your project, regardless of whether you have a separate **src** directory and whether you're using TypeScript or JavaScript files.
92
92
93
-
## update the astro.config file to enable ssr
93
+
## Update the astro.config file to enable ssr
94
94
95
-
- You need to enable ssr to use API endpoints that would be in the `pages/api` folder
95
+
- You need to enable ssr to use API endpoints (which are required by Trigger.dev).
96
96
97
97
```typescript astro.config.mjs
98
98
import { defineConfig } from"astro/config";
@@ -109,12 +109,13 @@ To establish an API route for interacting with Trigger.dev, follow these steps b
109
109
1. Create a new file named `trigger.(ts/js)` within the `pages/api/` directory.
0 commit comments