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

Proxy the Effection and Graphgen sites directly #323

Merged
merged 2 commits into from
Nov 7, 2023

Conversation

cowboyd
Copy link
Member

@cowboyd cowboyd commented Nov 6, 2023

Motivation

Cut Netlify out of the loop.

Right now, when someone asks for https://frontside.com/effection

The request proceeds from

  1. frontside.deno.com
  2. frontside.netlify.app
  3. effection.deno.com

And the response comes back via

  1. effection.deno.com
  2. frontside.netlify.app
  3. frontside.deno.com

Eventually we want to be able to serve all the code directly from frontside.deno.com, and the first stem is to cut out netlify completely from that round trip.

Approach

This removes the netilfy redirects for graphgen, and effection, and adds them directly to the frontside.com site.

Preview

https://frontside--directly-redirect-to-effec.deno.dev/graphgen

Cut Netlify out of the loop.

Right now, when someone asks for https://frontside.com/effection

The request proceeds from

1. frontside.deno.com
2. frontside.netlify.app
3. effection.deno.com

And the response comes back via

3. effection.deno.com
2. frontside.netlify.app
1. frontside.deno.com

Eventually we want to be able to serve all the code directly from
frontside.deno.com, and the first stem is to cut out netlify
completely from that round trip.

This removes the netilfy redirects for graphgen, and effection, and
adds them directly to the frontside.com site.
@cowboyd cowboyd requested a review from a team November 6, 2023 21:43
Copy link

netlify bot commented Nov 6, 2023

Deploy Preview for frontside canceled.

Name Link
🔨 Latest commit 634bcab
🔍 Latest deploy log https://app.netlify.com/sites/frontside/deploys/654993d859ad6e00083e2439

@cowboyd cowboyd merged commit 40882b7 into production Nov 7, 2023
7 checks passed
@cowboyd cowboyd deleted the directly-redirect-to-effection-and-graphgen branch November 7, 2023 03:27
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