diff --git a/.htaccess b/.htaccess
new file mode 100755
index 0000000..0519ecb
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/.user.ini b/.user.ini
new file mode 100644
index 0000000..65471b8
--- /dev/null
+++ b/.user.ini
@@ -0,0 +1 @@
+open_basedir=/www/wwwroot/js/node/AIPhotovoltaicAnalysis/:/tmp/
\ No newline at end of file
diff --git a/404.html b/404.html
new file mode 100755
index 0000000..6096254
--- /dev/null
+++ b/404.html
@@ -0,0 +1,16 @@
+
+
+
+
+
404 Not Found
+
+404 Not Found
+
+
+
+
\ No newline at end of file
diff --git a/index.html b/index.html
index 64ecc89..a876f59 100755
--- a/index.html
+++ b/index.html
@@ -751,8 +751,11 @@
q.addEventListener("click", () => {
if (q.classList.contains("mainauestion")) {
// q.style.display = 'none';
- document.querySelector('.fourquestionmain').style.display = 'none';
- document.querySelector('.sidequestion').style.display = 'flex';
+ if (!isMobile()) {
+ document.querySelector('.fourquestionmain').style.display = 'none';
+ document.querySelector('.sidequestion').style.display = 'flex';
+ }
+
}
isPre = true;
console.log(isUpload, 88)
@@ -771,6 +774,10 @@
sendMessage(true);
});
});
+ function isMobile() {
+ return /Android|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
+ }
+
// getHistory();
function getCookie(name) {
const match = document.cookie.match(new RegExp('(^| )' + name + '=([^;]+)'));