This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location = /apple-app-site-association { | |
root /var/www/http; # Your location here | |
add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate"; | |
try_files /apple-app-site-association.json =404; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
const driveUploadPath = 'https://www.googleapis.com/upload/drive/v3/files'; | |
// 'id' is driveId - unique file id on google drive | |
// 'version' is driveVersion - version of file on google drive | |
// 'name' name of the file on google drive | |
// 'appProperties' keep the custom `ifid` field | |
const fileFields = 'id,version,name,appProperties'; |