Skip to content

Commit f9ca272

Browse files
committed
Made DuckDuckGo default search engine + fixes
1 parent 628c655 commit f9ca272

File tree

20 files changed

+71
-88
lines changed

20 files changed

+71
-88
lines changed

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://biomejs.dev/schemas/2.2.2/schema.json",
33
"files": {
4-
"includes": ["**", "!**/static/assets/history/**", "!**/static/assets/mathematics/**", "!**/static/assets/json/**/*.min.json", "!**/Masqr.js", "!**/node_modules/**", "!**/package-lock.json", "!**/package.json", "!**/*.md", "!**/bun.lockb", "!**/Failed.html"]
4+
"includes": ["**", "!**/static/assets/history", "!**/static/assets/mathematics", "!**/static/assets/json/**/*.min.json", "!**/Masqr.js", "!**/node_modules", "!**/package-lock.json", "!**/package.json", "!**/*.md", "!**/bun.lockb", "!**/Failed.html"]
55
},
66
"assist": { "actions": { "source": { "organizeImports": "on" } } },
77
"linter": {

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const CACHE_TTL = 30 * 24 * 60 * 60 * 1000; // Cache for 30 Days
2424

2525
if (config.challenge !== false) {
2626
console.log(chalk.green("🔒 Password protection is enabled! Listing logins below"));
27-
// biome-ignore lint/complexity/noForEach:
27+
// biome-ignore lint: idk
2828
Object.entries(config.users).forEach(([username, password]) => {
2929
console.log(chalk.blue(`Username: ${username}, Password: ${password}`));
3030
});
@@ -102,7 +102,7 @@ const routes = [
102102
{ path: "/", file: "index.html" },
103103
];
104104

105-
// biome-ignore lint/complexity/noForEach:
105+
// biome-ignore lint: idk
106106
routes.forEach(route => {
107107
app.get(route.path, (_req, res) => {
108108
res.sendFile(path.join(__dirname, "static", route.file));

package-lock.json

Lines changed: 55 additions & 56 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
},
99
"scripts": {
1010
"start": "node index.js",
11-
"format": "biome format --write .",
12-
"precommit": "pnpm run format && biome check --write .",
11+
"format": "pnpm biome format --write .",
12+
"precommit": "pnpm run format && pnpm biome check --write .",
1313
"lint": "biome lint --write ."
1414
},
1515
"author": "InterstellarNetwork",

static/404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ <h3>Page not found.</h3>
3434
</button>
3535
</div>
3636
</body>
37-
<script src="/assets/js/i2.js"></script>
37+
<script src="/assets/js/index-3.js"></script>
3838
<script src="/assets/mathematics/bundle.js?v=2025-04-15"></script>
3939
<script src="/assets/mathematics/config.js?v=2025-04-15"></script>
4040
<script src="/assets/js/m1.js"></script>

static/apps.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<link rel="stylesheet" href="/assets/css/global.css?v=6" />
1515
<link rel="stylesheet" href="/assets/css/container.css?v=2" />
1616
<link rel="stylesheet" href="/assets/css/nav.css?v=01" />
17-
<script src="/assets/js/i2.js"></script>
17+
<script src="/assets/js/index-3.js"></script>
1818
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">
1919
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6840529569014734"
2020
crossorigin="anonymous"></script>

static/assets/css/container.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
position: absolute;
1515
width: 145px;
1616
height: 145px;
17-
border-radius: 0px;
1817
transition: all 0.2s ease;
1918
border-radius: 10px;
2019
}

static/assets/css/error.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525

2626
.error p {
2727
font-size: 2vw;
28-
font-weight: 700;
2928
margin-top: 0.5%;
3029
margin-bottom: 1%;
3130
font-weight: 900;

static/assets/css/settings.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ input {
129129
transition: 0.2s;
130130
margin-top: 10px;
131131
background-color: var(--background-buttons);
132-
padding: 0.5rem;
133132
border-radius: 10px;
134133
color: var(--text-primary);
135134
height: 50px;
@@ -144,7 +143,6 @@ button {
144143
transition: 0.2s;
145144
margin-top: 10px;
146145
background-color: var(--background-buttons);
147-
padding: 0.5rem;
148146
border-radius: 10px;
149147
color: var(--text-primary);
150148
height: 50px;

static/assets/css/t.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ body {
132132
}
133133

134134
.bar {
135-
height: 20px;
136135
background: none;
137136
border: none;
138137
color: var(--text-primary);

0 commit comments

Comments
 (0)