1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-22 17:02:58 +02:00

fix: replace sync endpoint

This commit is contained in:
Arik Chakma
2025-08-21 09:55:24 +06:00
committed by Kamran Ahmed
parent 6f11403a41
commit 78940d44a9

View File

@@ -57,8 +57,7 @@ export async function syncContentToDatabase(
topics: SyncToDatabaseTopicContent[], topics: SyncToDatabaseTopicContent[],
) { ) {
const response = await fetch( const response = await fetch(
// `https://roadmap.sh/api/v1-sync-official-roadmap-topics`, `https://roadmap.sh/api/v1-sync-official-roadmap-topics`,
`http://localhost:8080/v1-sync-official-roadmap-topics`,
{ {
method: 'POST', method: 'POST',
headers: { headers: {