main
Some checks failed
UI Deploy (Next-Auth Support) 🎨 / build-and-deploy (push) Has been cancelled

This commit is contained in:
Harun CAN
2026-03-09 02:16:10 +03:00
parent c1f94439ab
commit d09b1fbb6f
166 changed files with 5267 additions and 18148 deletions

13
download.js Normal file
View File

@@ -0,0 +1,13 @@
import https from 'https';
import fs from 'fs';
const file = fs.createWriteStream("public/hero-bg.jpg");
https.get("https://drive.google.com/uc?export=download&id=1YVWlLN4_6B4aVQ5BMeK72wpJyB4Az5T9", function(response) {
if (response.statusCode === 302 || response.statusCode === 303) {
https.get(response.headers.location, function(res) {
res.pipe(file);
});
} else {
response.pipe(file);
}
});