Add support for custom A-Frame Watcher save endpoint location (#709)#851
Open
bcopy wants to merge 3 commits intoaframevr:masterfrom
Open
Add support for custom A-Frame Watcher save endpoint location (#709)#851bcopy wants to merge 3 commits intoaframevr:masterfrom
bcopy wants to merge 3 commits intoaframevr:masterfrom
Conversation
bcopy
commented
Apr 1, 2026
- Allow users to register a custom A-Frame Watcher save endpoint URL, e.g. :
- Patch the scenegraph toolbar SAVE button to use the custom endpoint URL.
vincentfretin
suggested changes
Apr 3, 2026
Contributor
vincentfretin
left a comment
There was a problem hiding this comment.
There is a feature that was asked in #709 to also save to another endpoint, not necessary aframe-watcher endpoint.
Can you please remove from the PR the changes in dist and package.json.
We now have the AFRAME_INSPECTOR_CONFIG to set configuration, so you should use it instead of introducing a new variable.
I suggest:
window.AFRAME_INSPECTOR_CONFIG = { saveEndpoint: "http://my-custom-host.org:1234/save" };You can put the default value in lib/config.js as well.
You then access the config with AFRAME.INSPECTOR.config.saveEndpoint
I would also make the tooltip text generic, instead of "Write changes with aframe-watcher." just say "Save changes".
I'd probably should put pack the save button on aframe-editor, I clearly see some of you are using the feature.
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.