This file contains hidden or 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
| ⠴ Deploying Stack: api | |
| Resources | |
| ✔ AZURERM_APP_SERVICE dev-test-api-as azurerm_app_service.dev-test-api-as | |
| ~ AZURERM_APP_SERVICE_ supplier-certiicate azurerm_app_service_certificate_binding | |
| CERTIFICATE_BINDING -binding .supplier-certiicate-binding | |
| ⠴ AZURERM_APP_SERVICE_ dev-test-api-custom azurerm_app_service_custom_hostname_bin | |
| CUSTOM_HOSTNAME_BIND -hostname-binding ding.dev-test-api-custom-hostname-bindi | |
| ING ng | |
| ~ AZURERM_APP_SERVICE_ dev-test-api-cert-b azurerm_app_service_managed_certificate | |
| MANAGED_CERTIFICATE inding .dev-test-api-cert-binding |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> | |
| <head> | |
| <meta charset="utf-8"> <!-- utf-8 works for most cases --> | |
| <meta name="viewport" content="width=device-width"> <!-- Forcing initial-scale shouldn't be necessary --> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- Use the latest (edge) version of IE rendering engine --> | |
| <meta name="x-apple-disable-message-reformatting"> <!-- Disable auto-scale in iOS 10 Mail entirely --> | |
| <meta name="format-detection" content="telephone=no,address=no,email=no,date=no,url=no"> | |
| <!-- Tell iOS not to automatically link certain text strings. --> |
This file contains hidden or 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
| function getMobileOperatingSystem() { | |
| var userAgent = navigator.userAgent || navigator.vendor || window.opera; | |
| // Windows Phone must come first because its UA also contains "Android" | |
| if (/windows phone/i.test(userAgent)) { | |
| return "Windows Phone"; | |
| } | |
| if (/android/i.test(userAgent)) { | |
| return "Android"; |
This file contains hidden or 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
| // By Felipe Gómez Restrepo | |
| export const createCSV = functions.firestore | |
| .document('reports/{reportId}') | |
| .onCreate((snap, context) => { | |
| // Step 1. Set main variables | |
| const reportId = context.params.reportId; | |
| const fileName = reports/${reportId}.csv; |