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

example #3

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

example #3

wants to merge 1 commit into from

Conversation

3y3
Copy link
Member

@3y3 3y3 commented Oct 13, 2023

No description provided.

export const saResourceId = state.saResourceId;

export const customFetch = state.customFetch;
Copy link
Member Author

Choose a reason for hiding this comment

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

Вот тут наверное state.customFetch || fetch

или может вообще

export const fetch = state.fetch || fetch;

const router = new Router();

router.get('/', async (req, res) => {
const bootstrap = manifest(base || '/static');

req.ctx.fetch = fetch;
Copy link
Member Author

Choose a reason for hiding this comment

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

это план Б

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