change port 4023 to 4024

This commit is contained in:
Kar k1
2025-08-30 18:28:24 +05:30
parent 7219108342
commit f29889df9a
12 changed files with 27 additions and 27 deletions

View File

@@ -86,7 +86,7 @@ async function getTopics(searchParams: Promise<{ [key: string]: string | string[
const baseUrl =
process.env.NODE_ENV === 'production'
? `${process.env.NEXTAUTH_URL || 'https://siliconpin.com'}`
: 'http://localhost:4023'
: 'http://localhost:4024'
const searchQuery = new URLSearchParams({
page: page.toString(),
@@ -144,7 +144,7 @@ async function getTags(): Promise<Array<{ id: string; name: string }>> {
const baseUrl =
process.env.NODE_ENV === 'production'
? `${process.env.NEXTAUTH_URL || 'https://siliconpin.com'}`
: 'http://localhost:4023'
: 'http://localhost:4024'
const response = await fetch(`${baseUrl}/api/topics/tags`, {
headers: {