You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which uses the app's configured path and URL for the static folder if the Sijax config values are relative. Should make things more robust if you simply want to use the static folder that you set up for the application anyway. The configuration would then simply become:
I would like to propose two enhancements (and can make a PR if you want). This is tied to the configuration values.
Currently, the
init_app
method looks like this:I would change it to this:
Which uses the app's configured path and URL for the static folder if the Sijax config values are relative. Should make things more robust if you simply want to use the static folder that you set up for the application anyway. The configuration would then simply become:
What do you think?
If the
json2.js
is actually inside the application's static folder, you could also use the following in the HTML templates. Instead of:use:
What actually happens when
sijax.helper.init_static_path
never gets called?The text was updated successfully, but these errors were encountered: