Move launch further down, temporarily
Summary: Attempt to fix an ongoing issue whereas there's a race condition generating certificates Reviewed By: passy Differential Revision: D49237915 fbshipit-source-id: 2383b20cb6ba786166d5e70206b5fff846ed1211
This commit is contained in:
committed by
Facebook GitHub Bot
parent
58c891b1d2
commit
cf599f9c3c
@@ -329,12 +329,6 @@ export const generateAuthToken = async () => {
|
||||
};
|
||||
|
||||
export const getAuthToken = async (): Promise<string> => {
|
||||
// Ensure we check for the validity of certificates before
|
||||
// returning an authentication token.
|
||||
// If the server certificates have expired, they will need
|
||||
// to be renewed and will invalidate any existing token.
|
||||
await ensureServerCertExists();
|
||||
|
||||
if (!(await hasAuthToken())) {
|
||||
return generateAuthToken();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user