Comments (5)
What do you see in the server logs?
Can you get the conversations by visiting the page directly?
from fossteams-frontend.
What do you see in the server logs?
Can you get the conversations by visiting the page directly?
I can go to it directly
its the browser that isn't allowing localhost:8050 b/c of CORS, which usually gets fixed with an extension or other
happens in chrome too
from fossteams-frontend.
Oh I see your issue.
You're visiting http://localhost:8080 instead of http://127.0.0.1:8080
CORS on the backend is configured to only allow request from 127.0.0.1:8080, see here:
https://github.com/fossteams/fossteams-backend/blob/master/internal/server/server.go#L333
from fossteams-frontend.
Oh I see your issue. You're visiting http://localhost:8080 instead of http://127.0.0.1:8080
CORS on the backend is configured to only allow request from 127.0.0.1:8080, see here: https://github.com/fossteams/fossteams-backend/blob/master/internal/server/server.go#L333
WARNING Compiled with 2 warnings 7:53:47 AM
warning in ./node_modules/vue-property-decorator/lib/index.js
"export 'default' (reexported as 'Component') was not found in 'vue-class-component'
warning in ./node_modules/vue-property-decorator/lib/index.js
"export 'default' (reexported as 'Vue') was not found in 'vue'
App running at:
- Local: http://localhost:8081/
- Network: http://192.168.1.234:8081/
Note that the development build is not optimized.
To create a production build, run yarn build.
Issues checking in progress...
No issues found.
:8080?? i got :8081 (8080 is in use maybe?)
from fossteams-frontend.
Oh I see your issue. You're visiting http://localhost:8080 instead of http://127.0.0.1:8080
CORS on the backend is configured to only allow request from 127.0.0.1:8080, see here: https://github.com/fossteams/fossteams-backend/blob/master/internal/server/server.go#L333WARNING Compiled with 2 warnings 7:53:47 AM
warning in ./node_modules/vue-property-decorator/lib/index.js
"export 'default' (reexported as 'Component') was not found in 'vue-class-component'
warning in ./node_modules/vue-property-decorator/lib/index.js
"export 'default' (reexported as 'Vue') was not found in 'vue'
App running at:
* Local: http://localhost:8081/ * Network: http://192.168.1.234:8081/
Note that the development build is not optimized. To create a production build, run yarn build.
Issues checking in progress... No issues found.
:8080?? i got :8081 (8080 is in use maybe?)
in chrome console
Access to XMLHttpRequest at 'http://127.0.0.1:8050/api/v1/conversations' from origin 'http://127.0.0.1:8081' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
from fossteams-frontend.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fossteams-frontend.