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

added custom client route to query the hub_id #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

colinfizgig
Copy link

changed the route to pull from hosted config so it will be easier to modify the config file without having to access aws. requires cors and node-fetch.

You will want to set up the repository with a ghpages host and change the line

const configUrl = 'https://colinfizgig.github.io/Custom-Hubs-Components/top-level-main-server/config.json';

to point to our aelatgt hosted version of config.json. The idea is that whoever can add scripts to the custom client can modify the config.json in order to add those scripts to their hub_id. That way we won't need access to the AWS top-level to make changes. Eventually we might make a component that can inject the config using Spoke in order to bypass the need for a top-level server.

changed the route to pull from hosted config so it will be easier to modify the config file without having to access aws.  requires cors and node-fetch
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.

1 participant