Giter VIP home page Giter VIP logo

Comments (6)

free-bots avatar free-bots commented on September 26, 2024

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.
storage

from ariang.

free-bots avatar free-bots commented on September 26, 2024

@ntzb please let me know if this issue still exists. Otherwise this issue will be closed soon due to inactivity.

from ariang.

ntzb avatar ntzb commented on September 26, 2024

@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:
2022-10-07__18-38-51

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.

free-bots avatar free-bots commented on September 26, 2024

@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.

free-bots avatar free-bots commented on September 26, 2024

@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.

ntzb avatar ntzb commented on September 26, 2024

@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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.