Skip to content

Instantly share code, notes, and snippets.

What is the issue with preloading and Netlify

Trying to preload a site that uses Netlify for its base domain with www by default fails.

What causes the issue

The redirects netlify uses are:

@jrtapsell
jrtapsell / openpgp.txt
Created December 9, 2017 21:11
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:b90541560db453e21d29f8afcebf9f6459ba0077]
@jrtapsell
jrtapsell / openpgp.txt
Created December 9, 2017 21:08
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:b90541560db453e21d29f8afcebf9f6459ba0077]
@jrtapsell
jrtapsell / openpgp.txt
Created December 9, 2017 21:07
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:b90541560db453e21d29f8afcebf9f6459ba0077]
class ParityManager(val web3: Parity): TransactionManager(web3) {
val from: String
init {
val accounts = DataProvider.web3.ethAccounts().send().accounts!!
if (accounts.size == 0) {
throw AssertionError("No accounts :(")
}
if (accounts.size > 1) {
throw AssertionError("Too many accounts, please only use 1")
}
0x00F92F0Fad891dd765Ef3c8a8914DebfD473347E

Keybase proof

I hereby claim:

  • I am jrtapsell on github.
  • I am jrtapsell (https://keybase.io/jrtapsell) on keybase.
  • I have a public key ASB68a3Jir5ipJntRBln7pNvCJ3w9yAqbVgAN2-uZgTPlQo

To claim this, I am signing this object: