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
## when it succeeds, re-enable the cloudflare proxy for domain.tld...
297
297
```
298
298
299
-
### Speed Improvements
300
-
If the API and the Database are running on the same server, you can improve the speed by disabling the tcp connection for the database. This can be done by setting the `DATABASE_URL` to `postgresql://teaching_website:teaching_website@localhost/teaching_website?sslmode=disable`.
301
-
302
-
## Troubleshooting
299
+
## Dump from production
303
300
304
-
> [!Caution]
305
-
> Authentication Error: When your API can not authenticate requests
306
-
> - set the debug level in authConfig to 'info' and check the logs
307
-
> - when it is a 401 error and the issue is about `Strategy.prototype.jwtVerify can not verify the token`, ensure to set `"requestedAccessTokenVersion": 2` in the API manifest (!! **not** in the Frontend's manifest, there it must still be `null` !!)
# when ai-pr was once merged/deployed to the db, run `delete from _prisma_migrations where migration_name ilike '%_ai_%';`
306
+
```
308
307
308
+
## Speed Improvements
309
+
If the API and the Database are running on the same server, you can improve the speed by disabling the tcp connection for the database. This can be done by setting the `DATABASE_URL` to `postgresql://teaching_website:teaching_website@localhost/teaching_website?sslmode=disable`.
0 commit comments