anvil-works / anvil-runtime

The runtime engine for hosting Anvil web apps
https://anvil.works/open-source
Other
874 stars 116 forks source link

`?buildTime=0` in htmls is fixed as 0 when I install it using pip #50

Open jsrobot opened 2 years ago

jsrobot commented 2 years ago

is it intended? I guess it is set to refresh/re download assets automatically when it is updated. However it is always set to 0. for example <link rel="stylesheet" href="/_/static/runtime/css/bootstrap-theme.min.css?buildTime=0" crossorigin/>

So, whenever I upgrade anvil-app-server using pip, client have to use force refresh option on web browser.

Do I have to change source code and build it myself?

In case of run the app on the anvil cloud, it is served with <link rel="stylesheet" href="https://anvil.works/runtime-new/runtime/css/bootstrap-theme.min.css?sha=34b102cb7689409fd1c3c180aeb1fd3f0b8bf0b47ab25c74c42eaff574e661a9" crossorigin/>