Skip to content

fix: remove double definition for scorm#187

Merged
MoisesGSalas merged 1 commit into
mainfrom
mgs/fix-caddy-scorm-error
Jun 2, 2026
Merged

fix: remove double definition for scorm#187
MoisesGSalas merged 1 commit into
mainfrom
mgs/fix-caddy-scorm-error

Conversation

@MoisesGSalas
Copy link
Copy Markdown
Member

@MoisesGSalas MoisesGSalas commented Jun 2, 2026

The catch all rule now includes the caddyfile-lms patch since #185 which caused the scorm_matcher to appear twice. We remove the scorm_matcher block from the catch-all rule and rely on the contents of caddyfile-lms.

This also adds a small verification of the caddyfile syntax using caddy validate.

@MoisesGSalas MoisesGSalas requested a review from a team as a code owner June 2, 2026 14:57
@MoisesGSalas MoisesGSalas force-pushed the mgs/fix-caddy-scorm-error branch from e47345a to 63c69cc Compare June 2, 2026 15:52
Add a small static check for the Caddyfile and set a default value for
default_site_port for the catch all rule.
@MoisesGSalas MoisesGSalas force-pushed the mgs/fix-caddy-scorm-error branch from 63c69cc to 20439a3 Compare June 2, 2026 15:57
@MoisesGSalas MoisesGSalas merged commit a777df5 into main Jun 2, 2026
10 checks passed
@MoisesGSalas MoisesGSalas deleted the mgs/fix-caddy-scorm-error branch June 2, 2026 16:10
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

Successfully merging this pull request may close these issues.

2 participants