Comments (3)
Update: if the current directory at program startup contains an index.html
file, the above does not occur. An empty file seems to suffice.
from jsaddle.
Additional comment: If the resource is placed outside the executable's directory, the resource cannot be loaded due to "kCFErrorDomainCFNetwork" error. (jsaddle-0.9.7.0 , Mac OS 10.14.6)
from jsaddle.
This could be a CORS issue. See https://stackoverflow.com/questions/8456538/origin-null-is-not-allowed-by-access-control-allow-origin and https://stackoverflow.com/a/37690646/1013628 for some suggestions on how to workaround the issue.
from jsaddle.
Related Issues (20)
- jsaddle-warp: stopPropagation sometimes doesn't work HOT 2
- Static files HOT 1
- Support GHC-8.8 HOT 1
- jsaddle missing sync message handler HOT 3
- SPA routing HOT 4
- Using WebSockets with JSADDLE
- Maybe bump warp dep of jsaddle-warp on hackage HOT 1
- How to get result of promise/async function without a continuation Haskell function.
- Lots of ambiguous type errors when using OverloadedStrings
- TypedArray sliceIO is not exported
- Too strict version bound on ref-tf HOT 1
- How to run tests? `cannot satisfy -package lens-5.1` HOT 2
- jsaddle-warp restarts periodically
- jsaddle-warp performance with massive arrays (length == 518400)
- CC constructor type mismatch when using text-2.0.1 HOT 2
- Re-release jsaddle on Stackage HOT 1
- JSaddle for GHC Javascript Backend HOT 2
- How to use `jsaddle-clib` HOT 8
- jsaddle-warp browser DOS on the Haskell program (stuck on sendTextData) HOT 6
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 jsaddle.