Skip to content

History not working with Algolia I think? #261

Answered by vonkoff
vonkoff asked this question in Q&A
Discussion options

You must be logged in to vote

Hey Kent,

Thanks for always being on the case...turns out it was a CSP issues. Had to add algolia.net as an exception. Actual results are loading in!->

app.use(
	helmet({
		crossOriginEmbedderPolicy: false,
		contentSecurityPolicy: {
			directives: {
				'connect-src': [
					MODE === 'development' ? 'ws:' : null,
					process.env.SENTRY_DSN ? '*.ingest.sentry.io' : null,
					"'self'",
					// THE PART BELOW :)
					'*.algolia.net', 
				].filter(Boolean),
// ...

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vonkoff
Comment options

Answer selected by vonkoff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed
2 participants