Rename server endpoint

pull/2352/head
Jérémy Rialland 2022-10-24 17:33:38 +02:00 committed by Jérémy Rialland
parent 7313488725
commit 1356c8d157
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ Content-Security-Policy = "default-src 'self' mon-entreprise.fr; style-src 'self
## Scalingo proxy for server
[[redirects]]
from = "/server-functions/*"
from = "/server/*"
to = ":SERVER_URL/:splat"
status = 200

View File

@ -26,7 +26,7 @@ export default function FeedbackForm() {
?.value
try {
await fetch(`/server-functions/send-crisp-message`, {
await fetch(`/server/send-crisp-message`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',