From fc197c96157d816477148edc0deb615d08919c33 Mon Sep 17 00:00:00 2001 From: ilkaya Date: Tue, 24 Sep 2024 09:48:43 +0300 Subject: [PATCH] =?UTF-8?q?D=C3=BCzeltme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- public/script.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ae8ff4e..7240935 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "main": "main.js", "scripts": { - "start": "electron . --inspect" + "start": "DISPLAY=:99 electron . --no-sandbox" }, "author": "", "license": "ISC", diff --git a/public/script.js b/public/script.js index 7e73f2e..42b27df 100644 --- a/public/script.js +++ b/public/script.js @@ -68,7 +68,7 @@ async function imagé(options) form.append(name, value); } - let t = await fetch("http://localhost:8473/" + generate,{ + let t = await fetch(`https://pdf.saqut.com/${generate}`,{ method:"post", body: form });