Skip to content

Commit

Permalink
Merge pull request #3 from ProjectEvergreen/serverless-ssr-pages-work…
Browse files Browse the repository at this point in the history
…ers-refactor

Serverless ssr pages workers refactor
  • Loading branch information
thescientist13 authored Jul 4, 2023
2 parents 62c1f7e + 021a2b7 commit 59cacfd
Show file tree
Hide file tree
Showing 7 changed files with 303 additions and 15 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,5 @@ TODO
- proxy vercel cli dev option?
- should use _src/_ or _public/_? depends on dev vs production mode? Interestingly, the manual way only worked deployed when using _public/_
1. [ ] Make sure to spread all headers / response properties in netlify functions adapter output
1. [ ] Keep it as an experimental feature for 1.0 (or per platform?)
1. [ ] Keep it as an experimental feature for 1.0 (or per platform?)
1. [ ] Will SSR pages need access to the request object?
2 changes: 1 addition & 1 deletion api/artists.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// TODO should use src or public? depends on dev vs production mode?
import { handler as artists } from '../public/artists.js';
import { handler as artists } from '../public/__artists.js';

export default async function handler (request, response) {
const { url, headers } = request;
Expand Down
Loading

0 comments on commit 59cacfd

Please sign in to comment.