Skip to content

Conversation

@rikmarais
Copy link

When determining where the manifest and zip are hosted specifically when using The Forge, use the user-specific Forge Assets Library path as resource path instead of window.location.origin.

This improves quality of life for compendium2module users on The Forge and allows them to access their manifest URL from CDN rather than server, and without their specific game currently online.

When determining where the manifest and zip are hosted, use user specific Forge Assets Library path as resource path instead of window.location.origin
Add urlPathMap to map assets URL to URL.pathname for compendium data and for upload
@rikmarais rikmarais changed the title Use Assets Library path when on The Forge Allow saving images with URLs, and support Assets Library path when on The Forge Jan 25, 2023
@rikmarais
Copy link
Author

Fixes #17

@rikmarais
Copy link
Author

The Forge specific fix relies on supporting URLs to be meaningful, so I have taken the liberty of including both functions in this PR

Should you prefer to include the URL support code separately, please feel free to cherry pick/edit just 5545f00 and 2157f24 which introduce a new option which is only available if the first Image checkbox is already selected.

image
image

@kid2407 kid2407 self-assigned this Feb 2, 2023
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