Rename server endpoint
parent
7313488725
commit
1356c8d157
|
@ -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
|
||||
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue