Serve the client SEF from static/lt/linkeddata/ instead of static/com/ltlod/ - #26
Open
namedgraph wants to merge 1 commit into
Open
Serve the client SEF from static/lt/linkeddata/ instead of static/com/ltlod/#26namedgraph wants to merge 1 commit into
namedgraph wants to merge 1 commit into
Conversation
…/ltlod/ The LTLOD client-side stylesheet override was mounted under a reverse-DNS path derived from a domain we do not own (com/ltlod), mirroring LDH's own static/com/atomgraph/linkeddatahub/. Use the reverse-DNS form of the actual deployment domain, linkeddata.lt, instead. Path depth is unchanged (three segments under static/), so client.xsl's relative import of ../com/atomgraph/linkeddatahub/xsl/client.xsl and the relocatable SEF are unaffected — no `make sef` rebuild is needed, only a container recreate to pick up the new bind-mount targets. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Rpcs7VhsGAhungG9fjwR1Z
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The LTLOD client-side stylesheet override was mounted under a reverse-DNS path derived from a domain we do not own (
com/ltlod), mirroring LDH's ownstatic/com/atomgraph/linkeddatahub/. This switches it to the reverse-DNS form of the actual deployment domain,linkeddata.lt→static/lt/linkeddata/xsl/.Three call sites, all changed together:
docker-compose.override.ymlclient.xsl+client.xsl.sef.jsonfiles/layout.xslclient-stylesheetparam that repoints the client bootstrap at our SEFCLAUDE.mdNot touched: the
ltlod:RDF prefix (http://linkeddata.lt/ns#), theltlod-reconcile/ltlod-geo/ltlod_etltool names, andCOMPOSE_PROJECT_NAME=ltlod— a different identifier, not this reverse-DNS static path.Notes
Path depth is unchanged (three segments under
static/), soclient.xsl's relative import of../com/atomgraph/linkeddatahub/xsl/client.xsland the relocatable SEF are unaffected. Nomake sefrebuild needed — neitherclient.xslnoroverrides.xslchanged, andlayout.xslis server-side only. Deploying does need a container recreate to pick up the new mount targets:docker compose up -d --force-recreate linkeddatahub && docker compose restart nginx varnish-end-user🤖 Generated with Claude Code
https://claude.ai/code/session_01Rpcs7VhsGAhungG9fjwR1Z