Comments (6)
Hi, sorry for the late response. I wonder if notifications were turned off.
If you change something and you reload the current tab changes get ignored due to the fact that i found no better solution than fetching the config an reload the page once a value in session storage is not present . You can clear the session storage or open the page in an other tap every time you change something.
from ariang.
@ntzb please let me know if this issue still exists. Otherwise this issue will be closed soon due to inactivity.
from ariang.
@free-bots I think I wasn't clear.
how do I use the config.json that I created?
this is the dir structure as of now:
when I open "index.html" in my browser, I don't see the configuration that is saved in config.json.
am I doing something wrong?
from ariang.
@ntzb you did everything right with adding config.json to root. I think i could reproduce your issue. My browser keeps deleting page data opening a new tab shows me the config every time. Onced i changed the browser the config was not loaded.
Could you try version 1.3.1 it includes a fix for it ?
After a config change open the page in a new tab and your changes should be visible.
from ariang.
@ntzb i think i got your point. You don't use any http server right? This is not supported the browser blocks file acces via javascript. But you can use one of these tools to run it localy:
https://formulae.brew.sh/formula/darkhttpd -> open the terminal in your folder and run darkhttpd ./ --port 8080
https://github.com/vercel/serve#readme -> open the terminal in your folder and run serve ./
https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer -> open the folder with vscode on click on go live
from ariang.
@free-bots sorry, I wasn't aware that the browser doesn't pick up the config.json file (cors stuff?).
I do have an nginx server running the mayswind/AriaNg version, but I just wanted to try yours with a regular browser before I replaced it.
it works as expected, so I'm closing this.
thanks for your help!
from ariang.
Related Issues (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 ariang.