Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jsrobot opened this issue Sep 29, 2021 · 0 comments
Open

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

jsrobot opened this issue Sep 29, 2021 · 0 comments

Comments

@jsrobot
Copy link

jsrobot commented Sep 29, 2021

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/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant