182
183 try {
184 const response = await fetch("/", {
185 method: "POST",
186 body: JSON.stringify({
182
183 try {
184 const response = await fetch("/", {
185 method: "POST",
186 body: JSON.stringify({
182
183 try {
184 const response = await fetch("/", {
185 method: "POST",
186 body: JSON.stringify({
182
183 try {
184 const response = await fetch("/", {
185 method: "POST",
186 body: JSON.stringify({
182
183 try {
184 const response = await fetch("/", {
185 method: "POST",
186 body: JSON.stringify({
594 const logoImg = container.querySelector('.logo img');
595 if (logoImg) {
596 const response = await fetch(this.invoice.logoUrl);
597 const blob = await response.blob();
598 const base64 = await new Promise((resolve) => {
802
803 try {
804 const response = await fetch('/generate-qr', {
805 method: 'POST',
806 headers: { 'Content-Type': 'application/json' },
1257});
1258
1259const handler = (typeof Deno !== "undefined" && Deno.env.get("valtown")) ? app.fetch : app;
1260export { handler as default };
1261
182
183 try {
184 const response = await fetch("/", {
185 method: "POST",
186 body: JSON.stringify({
182
183 try {
184 const response = await fetch("/", {
185 method: "POST",
186 body: JSON.stringify({
182
183 try {
184 const response = await fetch("/", {
185 method: "POST",
186 body: JSON.stringify({
182
183 try {
184 const response = await fetch("/", {
185 method: "POST",
186 body: JSON.stringify({