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

feat: fixes to webroot feature and improvements to development using it #1046

Merged
merged 4 commits into from
Jan 1, 2025

Conversation

fmartingr
Copy link
Member

Fixes some issues regarding the usage of the RootPath configuration, including validation of the attribute requiring a slash at the end to avoid issues in configurations.

Also, added a nginx service to the development compose file to locally test this feature.

@fmartingr fmartingr self-assigned this Jan 1, 2025
chore: Update nginx configuration to resolve 502 gateway error

fix: Update SHIORI_WEBROOT to SHIORI_HTTP_ROOT_PATH in docker-compose

feat: Add debug log level flag to shiori service

refactor: Update docker-compose with simplified command and log configuration

fix: Change nginx port mapping from 80 to 8081

feat: Add volume for Go module cache in docker-compose

style: Add type attribute to script tags in index.html

feat: Update import statements to use RootPath variable in index.html
Copy link

codecov bot commented Jan 1, 2025

Codecov Report

Attention: Patch coverage is 76.92308% with 3 lines in your changes missing coverage. Please review.

Project coverage is 34.46%. Comparing base (e1e5828) to head (2f1f784).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
internal/cmd/root.go 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1046      +/-   ##
==========================================
+ Coverage   34.35%   34.46%   +0.10%     
==========================================
  Files          61       61              
  Lines        5399     5412      +13     
==========================================
+ Hits         1855     1865      +10     
- Misses       3320     3323       +3     
  Partials      224      224              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fmartingr fmartingr added this to the 1.7.3 milestone Jan 1, 2025
@fmartingr fmartingr merged commit 45bd4d6 into master Jan 1, 2025
17 checks passed
@fmartingr fmartingr deleted the fix/webroot-dev branch January 1, 2025 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant