use register-service-worker

This commit is contained in:
willyb321
2018-10-21 10:16:31 +11:00
parent 9c767c928c
commit 6f077d4c41
3 changed files with 26 additions and 34 deletions

View File

@@ -113,7 +113,7 @@ const API_ORBIS = 'https://orbis.zone/api/builds/add';
* @return {Promise<any>} Either a URL or error message.
*/
export function orbisUpload(ship, creds) {
return new Promise(async (resolve, reject) => {
return new Promise(async(resolve, reject) => {
if (window.navigator.onLine) {
try {
agent