如何解决从聚合物应用程序向go服务器发送请求的路径?

I am working on a GO/Polymer app (Polymer as frontEnd and go as Backend) the server is done with go and functioning and the app with polymer and it is working aswell.

The problem i have is when i try to run the app on localhost my requests are sent to the wrong socket so the server never gets them therefore i cannot test anything nor modify the existing app.

I'm trying to run the app that has already been built by others and add new features but i am a beginner with polymer. I tried to modify the URL given in the requests... without any success...

the server :

router.PathPrefix("/polymer/").Handler(http.StripPrefix("/polymer/", http.FileServer(http.Dir("/polymer/build/es6-bundled/"))))
    log.Fatal(http.ListenAndServe(":8080", router))

The directories are set up this way : C://Users/go/Myapp/

in this you will find a server directory with all .go files and a polymer directory with the files related to polymer and the frontend.

So when i run the server and build/serve the polymer app i get the following link : http://127.0.0.1:8081 when i try to use a query (e.g connecting to the app with credentials stored in a mongoDB database.) it sends the following link http://127.0.0.1/8081/login/?password=xxxx&username=xxxxx

So it never reaches the server which is listening to the socket 8080. When i change the request link to http://127.0.0.1:8080/login/?password=xxxx&username=xxxxx i get the response from the server.

So i know where the problem is but i dont know how to fix it to run my app on the localhost...

Thank you for helping ! If you need anymore resources i can provide.