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

personalize links based on host #12

Merged
merged 7 commits into from
Nov 8, 2024
Merged

personalize links based on host #12

merged 7 commits into from
Nov 8, 2024

Conversation

karthik2804
Copy link
Contributor

@karthik2804 karthik2804 commented Nov 7, 2024

The links on the UI are customized based on the server's hostname. This can be tested by setting different host headers for the different providers.

@macolso macolso requested a review from flynnduism November 7, 2024 18:11
@macolso
Copy link
Collaborator

macolso commented Nov 7, 2024

Here is a more polish architecture diagram:
arch-diagram

Signed-off-by: karthik2804 <[email protected]>
Signed-off-by: karthik2804 <[email protected]>
Copy link
Collaborator

@kate-goldenring kate-goldenring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right now, this fails to run due to this issue: spinframework/spin#2915. For now, i think we should resolve this by switching to self requests. Alternatively we could merge this and tell users to either comment out the MQTT component or run the app selectively without the mqtt component:

SPIN_VARIABLE_MQTT_BROKER_URI="test.mosquitto.org" SPIN_VARIABLE_MQTT_TOPIC="booth/+" spin up --component-id "frontend" --component-id "api" --component-id "frontend-customization" --component-id "redirect-index"

@kate-goldenring
Copy link
Collaborator

@bacongobbler it looks like all of your suggestions were resolved. Do you mind re-reviewing?

@bacongobbler
Copy link
Member

Merging this; any follow-ups can be done post-merge

@bacongobbler bacongobbler merged commit cbcc3a6 into main Nov 8, 2024
1 check passed
@bacongobbler bacongobbler deleted the personalize-frontend branch November 8, 2024 17:12
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.

4 participants