pull/5370/head
filip mertens 2 years ago committed by Aniket
parent 9d411a780d
commit c32fdb189f
  1. 4
      libs/remix-url-resolver/src/resolve.ts

@ -28,12 +28,12 @@ export class RemixURLResolver {
gistAccessToken: string gistAccessToken: string
protocol: string protocol: string
constructor(gistToken?: string, protocol = 'http:') { constructor (gistToken?: string, protocol = 'http:') {
this.previouslyHandled = {} this.previouslyHandled = {}
this.setGistToken(gistToken, protocol) this.setGistToken(gistToken, protocol)
} }
async setGistToken(gistToken?: string, protocol = 'http:') { async setGistToken (gistToken?: string, protocol = 'http:') {
this.gistAccessToken = gistToken || '' this.gistAccessToken = gistToken || ''
this.protocol = protocol this.protocol = protocol
} }

Loading…
Cancel
Save