summaryrefslogtreecommitdiffstats
path: root/web_src/js/publicpath.js
Commit message (Collapse)AuthorAgeFilesLines
* Fix webpack chunk loading with STATIC_URL_PREFIX (#11526) (#11542)silverwind2020-05-221-3/+6
| | | | | | | Previously, we had only set __webpack_public_path__ to a path which caused webpack chunks to be loaded from the current origin which is incorrect when STATIC_URL_PREFIX points to another origin. This should fix the issue curretnly seen on gitea.com.
* Misc JS linting and naming tweaks (#10652)silverwind2020-03-111-0/+11
- lowercase all js filenames except Vue components - enable new lint rules, mostly focused on shorter code - autofix new lint violations - apply misc transformations indexOf -> includes and onevent-> addEventListener Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>