Skip to content

Instantly share code, notes, and snippets.

@johnpmitsch
Last active June 28, 2021 21:05
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnpmitsch/95b9d631935115ca91c46efecb115464 to your computer and use it in GitHub Desktop.
Save johnpmitsch/95b9d631935115ca91c46efecb115464 to your computer and use it in GitHub Desktop.
Katello dev server hacky wepback workaround

go to node_modules/webpack-dev-server/lib/Server.js in ~/foreman

around line 496 change protocols: ['h2', 'http/1.1'] to protocols: ['http/1.1'] (remove h2 from the array)

start dev server

NOTE: this will be overwritten when you npm install again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment