kholmogorov27 / chevron

Powerful and highly functional startpage integrated with chatGPT and hidden under the super minimalistic and animated design (static/hosted/github pages)
https://kholmogorov27.github.io/chevron/
MIT License
346 stars 104 forks source link

config.js changes don't work #9

Closed mel-edo closed 1 year ago

mel-edo commented 1 year ago

Hey, I downloaded the zip file from releases and if i make any changes to the config.js file, it does nothing. And in the zip release there isn't any public folder either like in #6

I run http-server in the Chevron_v2.1.0 folder and go to 127.0.0.1:8080 in my browser to see the startpage

I am on Arch linux, firefox version 110.0.1

kholmogorov27 commented 1 year ago

Hey!

From my comment in #6 issue

The /public folder is used for development. After building all the files from /public folder copy to the /dist folder. When you open Chevron in browser it uses files only from the /dist folder.

I recommend editing /dist/config.js because it doesn't require rebuilding. However you can edit public/config.js too but you have to rebuild to apply these changes. WARNING: Building process overwrites /dist/config.js

NOTE: Release archives consist of files from the /dist folder

mel-edo commented 1 year ago

Looks like rebuilding after editing public/config.js works!. I'm not sure why editing the files in /dist/config.js doesen't work.

kholmogorov27 commented 1 year ago

you should try reloading the page without caching (Ctrl + Shift + R)

mel-edo commented 1 year ago

I tried Ctrl + shift + R after making changes in /dist/config.js and it looks like that doesen't work either