Skip to content

Commit

Permalink
Merge branch 'deploy'
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnj committed Jul 25, 2020
2 parents 45d7535 + 84a6d9d commit 4f0c652
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Auth.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function User(req::HTTP.Request)
end
end
elseif HTTP.hasheader(req, JWT_TOKEN_COOKIE_NAME)
jwt = JWT(; jwt=HTTP.header(req, JWT_TOKEN_COOKIE_NAME))
jwt = JWT(; jwt=String(HTTP.header(req, JWT_TOKEN_COOKIE_NAME)))
verified = false
for kid in JWT_AUTH_KEYS[].keys
validate!(jwt, JWT_AUTH_KEYS[], kid[1])
Expand Down
2 changes: 1 addition & 1 deletion src/Client.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module Client
using HTTP, JSON3, Base64
using ..Model, ..Auth

const SERVER = Ref{String}("http://localhost:8080")
const SERVER = Ref{String}("https://musicalbums-revd52bpca-uc.a.run.app")
const AUTH_TOKEN = Ref{String}()

function createUser(username, password)
Expand Down

0 comments on commit 4f0c652

Please sign in to comment.