Jump to content
  • 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 !

Configure client nitro


Sunsey

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?

To access this image, please log in.

To access this image, please log in.



 

Link to post
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?

To access this image, please log in.

To access this image, please log in.



 

 

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 post
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 post
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 post
Share on other sites

  • Narzo locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...