Aller au contenu
  • Veuillez ne pas poster de message pour but d'insulter, incitation à la haine, propos sexuels et tout autre qui ne respecte pas nos conditions générales !

Configure client nitro


Sunsey

Messages recommandés

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

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

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

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 

1497018863_bannire-python.png.1603df99b8dce2b93d124b32f2b81ad7.thumb.png.15c7a072bbe972edd115be2ce2b86f19.png

 

Lien à poster
Partager sur d’autres sites

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 compte

Se connecter

Vous avez déjà un compte ? Connectez-vous ici.

Connectez-vous maintenant
×
×
  • Créer...