Jump to content
×
×
  • Create New...
  • Please do not post a message for the purpose of insulting, incitement to hatred, sexual remarks and any other which does not respect our terms of use !

 aide Configure client nitro


Sunsey
 Share

Recommended Posts

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?

image.thumb.png.272936fa7c500c593b65f111adf3a853.pngimage.thumb.png.d3cce1180ed063ec35456291fcce1982.png

 

Link to comment
Share on other 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?

image.thumb.png.272936fa7c500c593b65f111adf3a853.pngimage.thumb.png.d3cce1180ed063ec35456291fcce1982.png

 

 

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.

Link to comment
Share on other 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

Link to comment
Share on other 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

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share