poli icon indicating copy to clipboard operation
poli copied to clipboard

index.html with relative paths to css and js files

Open krandalf75 opened this issue 6 years ago • 2 comments

Make poly more reverse proxy friendly: Use relative paths to load javascript and css so they are loaded from /poli/static instead /static. So we don't need to publish /static folder.

krandalf75 avatar Dec 20 '19 21:12 krandalf75

Codecov Report

Merging #58 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #58   +/-   ##
=========================================
  Coverage     65.36%   65.36%           
  Complexity      406      406           
=========================================
  Files            51       51           
  Lines          1611     1611           
  Branches        141      141           
=========================================
  Hits           1053     1053           
  Misses          513      513           
  Partials         45       45

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b23d6e2...9ece6c8. Read the comment docs.

codecov-io avatar Dec 20 '19 21:12 codecov-io

Hey man. Thanks for the PR. I tested it and it works well. The only problem is if I refresh the page for example, http://localhost:6688/poli/workspace/report. All resource files are redirected to http://localhost:6688/poli/workspace/static/css/2.07f54ecf.chunk.css from http://localhost:6688/static/css/2.07f54ecf.chunk.css and return 404.

shzlw avatar Jan 04 '20 01:01 shzlw