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

Try loading preset map from our domain #972

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

Conversation

captbaritone
Copy link
Owner

Sentry has lots (~200) of security errors where it looks like this (and
other) requests to third party domains fail. For some reason this one
appears more frequently than any others so I figured I'd try switching
it.

I'm not sure why. Maybe some overzealous security plugins have
distrusted unpkg?

I don't think this is a real fix, but I'm curious to see if it helps.

Sentry has lots (~200) of security errors where it looks like this (and
other) requests to third party domains fail. For some reason this one
appears more frequently than any others so I figured I'd try switching
it.

I'm not sure why. Maybe some overzealous security plugins have
distrusted unpkg?

I don't think this is a real fix, but I'm curious to see if it helps.
@captbaritone captbaritone requested a review from jberg March 2, 2020 14:59
Copy link
Collaborator

@jberg jberg left a comment

Choose a reason for hiding this comment

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

Seems worth a try to me! I actually just tried to manually access unpkg to double check the week2 json was there and got a 429 (after like 10-15 seconds) :-X


const presetMap = await import(
/* webpackChunkName: "milkdrop-presets-weekly" */
"butterchurn-presets-weekly/weeks/week1/presets.json"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Lets take this change to point to "week" 2 : weeks/week2/presets.json

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.

None yet

2 participants