replace: swap prosappweb content for prosapp_web_app (more complete version)
prosapp_web_app has chat, dashboard, calendar, support, 13 providers and Fluro URL routing. Keep Dockerfile + nginx.conf from previous prosappweb. Upgrade google_fonts 6.2.1 → 8.1.0 (Dart 3.12 compat fix). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
74a4f41902
commit
15175c1b91
Binary file not shown.
|
Before Width: | Height: | Size: 126 KiB After Width: | Height: | Size: 1.8 KiB |
@@ -1,19 +0,0 @@
|
||||
importScripts("https://www.gstatic.com/firebasejs/8.10.0/firebase-app.js");
|
||||
importScripts("https://www.gstatic.com/firebasejs/8.10.0/firebase-messaging.js");
|
||||
|
||||
firebase.initializeApp({
|
||||
apiKey: "AIzaSyCNpUV_4cMEL9QZx7NESXK7QAlRjRGwx_Y",
|
||||
authDomain: "prosapp-5747a.firebaseapp.com",
|
||||
databaseURL: "https://prosapp-5747a-default-rtdb.firebaseio.com",
|
||||
projectId: "prosapp-5747a",
|
||||
storageBucket: "prosapp-5747a.appspot.com",
|
||||
messagingSenderId: "245204384533",
|
||||
appId: "1:245204384533:web:1b8f0b4c1d9ae21d9f871c",
|
||||
});
|
||||
|
||||
const messaging = firebase.messaging();
|
||||
|
||||
// Optional:
|
||||
messaging.onBackgroundMessage((message) => {
|
||||
console.log("onBackgroundMessage", message);
|
||||
});
|
||||
+15
-49
@@ -1,70 +1,36 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!--
|
||||
If you are serving your web app in a path other than the root, change the
|
||||
href value below to reflect the base path you are serving from.
|
||||
|
||||
The path provided below has to start and end with a slash "/" in order for
|
||||
it to work correctly.
|
||||
|
||||
For more details:
|
||||
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
|
||||
|
||||
This is a placeholder for base href that will be replaced by the value of
|
||||
the `--base-href` argument provided to `flutter build`.
|
||||
-->
|
||||
<base href="$FLUTTER_BASE_HREF">
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
|
||||
<meta name="description" content="Encuentra personal médico certificado">
|
||||
<meta name="description" content="A new Flutter project.">
|
||||
|
||||
<!-- iOS meta tags & icons -->
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<meta name="apple-mobile-web-app-title" content="prosapp">
|
||||
<meta name="package" content="prosapp"> <!-- Debe coincidir con el nuevo ID de paquete en Firebase -->
|
||||
|
||||
<meta name="apple-mobile-web-app-title" content="prosapp_web_app">
|
||||
<link rel="apple-touch-icon" href="icons/Icon-192.png">
|
||||
|
||||
<!-- Favicon -->
|
||||
<link rel="icon" type="image/png" href="favicon.png"/>
|
||||
|
||||
<title>Prosapp</title>
|
||||
<title>prosapp_web_app</title>
|
||||
<link rel="manifest" href="manifest.json">
|
||||
<meta name="google-signin-client_id" content="CLIENT_ID" />
|
||||
<script>
|
||||
// The value below is injected by flutter build, do not touch.
|
||||
var serviceWorkerVersion = null;
|
||||
</script>
|
||||
<!-- This script adds the flutter initialization JS code -->
|
||||
<script src="flutter.js" defer></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
window.addEventListener('load', function(ev) {
|
||||
// Download main.dart.js
|
||||
_flutter.loader.loadEntrypoint({
|
||||
serviceWorker: {
|
||||
serviceWorkerVersion: serviceWorkerVersion,
|
||||
},
|
||||
onEntrypointLoaded: function(engineInitializer) {
|
||||
engineInitializer.initializeEngine().then(function(appRunner) {
|
||||
appRunner.runApp();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
if ('serviceWorker' in navigator) {
|
||||
// Service workers are supported. Use them.
|
||||
navigator.serviceWorker.register('/firebase-messaging-sw.js');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<script src="https://www.gstatic.com/firebasejs/10.12.2/firebase-app.js"></script>
|
||||
<script src="https://www.gstatic.com/firebasejs/10.12.2/firebase-auth.js"></script>
|
||||
|
||||
<script src="https://www.google.com/recaptcha/api.js?render=explicit" async defer></script>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
window.flutterWebRenderer = "html";
|
||||
window.flutterWebRenderer = 'html';
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div id="recaptcha-container"></div>
|
||||
|
||||
<script src="flutter_bootstrap.js" async></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "prosappco",
|
||||
"short_name": "prosappco",
|
||||
"name": "prosapp_web_app",
|
||||
"short_name": "prosapp_web_app",
|
||||
"start_url": ".",
|
||||
"display": "standalone",
|
||||
"background_color": "#0175C2",
|
||||
|
||||
Reference in New Issue
Block a user