Comments (8)
So you changed the ModelService to include the direct URL? I have nether tried this. I enable CORS, in the backend:
/**
* Set body and cookie handler
*/
Router router = Router.router(vertx);
router.route().handler(BodyHandler.create().setMergeFormAttributes(false));
router.route().handler(CorsHandler.create("*")
.allowedMethod(HttpMethod.GET)
.allowedHeader("Access-Control-Request-Method")
.allowedHeader("Access-Control-Allow-Credentials")
.allowedHeader("Access-Control-Allow-Origin")
.allowedHeader("Access-Control-Allow-Headers")
.allowedHeader("Content-Type"));
But maybe there is something wrong. If you run the request with CURL or Postman they work?
from quant-ux.
Also, I cannot reach https://api.prototype.tikweb.com:8080/rest/status.com
from quant-ux.
I have changed ModelService but getting the error "Uncaught (in promise) TypeError: Failed to fetch" after login.
Use https://api.prototype.tikweb.com:8080/rest/status.json
from quant-ux.
I still cannot reach the server. I made a prototype te test if it is an CORs issue:
The 'test Direct' button is wired to your server, the proxy one to the live server through the proxy.
from quant-ux.
I am getting ok with both buttons.
and these value
Test Proxy => ok 3.2.1
Test Direct=> ok 3.0.4
from quant-ux.
SO, this looks like there is no CORS issue. Can you send me the developer tools errors? If you right click in the dev tools you can copy the request as curl. Can you send that to me?
from quant-ux.
Hi, how is your current status?
from quant-ux.
Sorry, i missed your last comment.
I have solved the issue. I am very thankful to you for your support.
from quant-ux.
Related Issues (20)
- Simulator shows blank screen plus QR code HOT 2
- more errors in the browser console HOT 2
- Simulator shows much smaller version of prototype HOT 5
- [Blocker] my local Docker installation stopped working HOT 25
- cannot export project as ZIP file HOT 1
- Data Binding updates not shown
- Improvement Request from Discord
- Add some collaborative note taking HOT 1
- Reset Password Email not getting SiteURL, but instead gets container name in URL HOT 1
- Docker and Nginx Server Setup - Base Route HOT 4
- Figma import is not working in Docker setup HOT 10
- Handle browser previous page action HOT 3
- keycloak-js conflicts with vue router
- Feature request : Render external URL / iFrame and do A/B test, track the analytics / heatmap ? HOT 1
- Question about user notification HOT 1
- Line space window shift position on click HOT 1
- Applying vertical text align to multiple text elements
- Keep aspect ratio button icon is showing wrong state
- PNG exports - icons are truncated HOT 2
- Bugs HOT 1
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 quant-ux.