Update apiUtil.ts

This commit is contained in:
Pushkar Anand 2020-11-07 21:29:06 +05:30 committed by GitHub
parent 623d115019
commit 78ff318512
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,3 @@
export const getEndpoint = () => {
return "https://api.staging.ente.io";
}
return process.env.NEXT_PUBLIC_ENTE_ENDPOINT || "https://api.staging.ente.io";
}