Sunsey 0 Posté(e) le 18 mars 2021 Partager Posté(e) le 18 mars 2021 Hey, brothers! I need help to configure nitro client in my test serv. I'm using cosmic cms, i made installation of angular, etc, but when try access link with sso, the navigator returns this errors in prints. You can help-me? Pour avoir accès à cette image, merci de vous connecter. Pour avoir accès à cette image, merci de vous connecter. Lien à poster Partager sur d’autres sites Plus d'options de partage...
ReznovITA 0 Posté(e) le 18 mars 2021 Partager Posté(e) le 18 mars 2021 Il y a 7 heures, Sunsey a dit : Hey, brothers! I need help to configure nitro client in my test serv. I'm using cosmic cms, i made installation of angular, etc, but when try access link with sso, the navigator returns this errors in prints. You can help-me? Pour avoir accès à cette image, merci de vous connecter. Pour avoir accès à cette image, merci de vous connecter. you have CORS problems, which you should change many things in your webserver. I recommend you to install a chrome extension called Allow Cors Policy. Lien à poster Partager sur d’autres sites Plus d'options de partage...
Mercury France 6 Posté(e) le 18 mars 2021 Partager Posté(e) le 18 mars 2021 Essaye de faire ng build puis tu mets tout le contenu du dossier DIST dans ta racine comme ça tu n'auras pas de problème de cors, là tu as fait ng serve et donc par conséquent tu utilises le localhost:8080 en utilisant les fichiers du localhost:80 ou du localhost tout court en gros, ou alors tu les héberges sur un site directement tout en testant ça sur localhost, voilà le problème est clos vous pouvez fermer le topic lol Lien à poster Partager sur d’autres sites Plus d'options de partage...
Python 32 Posté(e) le 18 mars 2021 Partager Posté(e) le 18 mars 2021 Try to do ng build then you put all the contents of the DIST folder in your root so you won't have a corns problem, there you made ng serve and therefore you use the localhost: 8080 using the files from the localhost: 80 or just localhost roughly, or you host them on a site directly while testing it on localhost, here the problem is closed you can close the topic Lien à poster Partager sur d’autres sites Plus d'options de partage...
Stown 118 Posté(e) le 18 mars 2021 Partager Posté(e) le 18 mars 2021 just add this to your htaccess <IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule> Lien à poster Partager sur d’autres sites Plus d'options de partage...
Messages recommandés
Créer un compte ou se connecter pour commenter
Vous devez être membre afin de pouvoir déposer un commentaire
Créer un compte
Créez un compte sur notre communauté. C’est facile !
Créer un nouveau compteSe connecter
Vous avez déjà un compte ? Connectez-vous ici.
Connectez-vous maintenant