From 828adffda0585ca970724ab59134fe017f3b672e Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 30 Oct 2022 01:39:30 +0200 Subject: [PATCH] CORS 2 --- templates/homepage.html | 20 ++++++++++++-------- templates/index.http | 34 ++++++++++++++++++---------------- 2 files changed, 30 insertions(+), 24 deletions(-) diff --git a/templates/homepage.html b/templates/homepage.html index 846fdaaa..a40ade78 100644 --- a/templates/homepage.html +++ b/templates/homepage.html @@ -28,14 +28,18 @@
-

Astronaute - Entrez dans votre Astroport Ŋ1

-
-
- Phrase Une (identifiant) :
- Phrase Deux (mot de passe) :
- ( TW officiel - Visiteur )

- -
+

Astroport Ŋ1 Swarm#0

+--- Astronaute ---
+ +

Besoin d'aide ? Contactez support@qo-op.com

diff --git a/templates/index.http b/templates/index.http index 06e7b271..89b1afbe 100644 --- a/templates/index.http +++ b/templates/index.http @@ -1,14 +1,14 @@ HTTP/1.1 200 OK +Access-Control-Allow-Origin: * +Access-Control-Allow-Credentials: true +Access-Control-Allow-Methods: GET Server: Astroport Content-Type: text/html; charset=UTF-8 -Access-Control-Allow-Origin = "*" -Access-Control-Allow-Credentials = "true" -Access-Control-Allow-Methods = "GET" - +