tasq/web/index.html
Marc Rejohn Castillano 5979a04254 * Push Notification Setup and attempt
* Office Ordering
* Allow editing of Task and Ticket Details after creation
2026-02-24 21:06:46 +08:00

65 lines
2.4 KiB
HTML

<!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="A new Flutter project.">
<!-- iOS meta tags & icons -->
<meta name="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="tasq">
<link rel="apple-touch-icon" href="icons/Icon-192.png">
<!-- Favicon -->
<link rel="icon" type="image/png" href="favicon.png"/>
<title>tasq</title>
<link rel="manifest" href="manifest.json">
<!-- PDF.js and printing support for Flutter Web (required by `printing` package) -->
<!-- Use a pdfjs-dist version compatible with the printing package (API/Worker versions must match) -->
<script src="https://unpkg.com/pdfjs-dist@3.2.146/build/pdf.min.js"></script>
<script src="https://unpkg.com/pdfjs-dist@3.2.146/build/pdf.worker.min.js"></script>
<script>
// Load printing.js only if the file exists to avoid 404/MIME errors in strict browsers.
(function() {
var localPath = 'packages/printing/printing.js';
try {
fetch(localPath, { method: 'HEAD' }).then(function(resp) {
var contentType = resp.headers.get('content-type') || '';
if (resp.ok && contentType.indexOf('javascript') !== -1) {
var s = document.createElement('script');
s.src = localPath;
document.head.appendChild(s);
} else {
console.warn('printing.js not found locally; skipping load to avoid 404/MIME errors.');
}
}).catch(function() {
console.warn('Error checking for printing.js; skipping script load.');
});
} catch (e) {
console.warn('Exception while attempting to load printing.js', e);
}
})();
</script>
</head>
<body>
<script src="flutter_bootstrap.js" async></script>
</body>
</html>