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:
committed by
Kamran Ahmed
parent
6f11403a41
commit
78940d44a9
@@ -57,8 +57,7 @@ export async function syncContentToDatabase(
|
||||
topics: SyncToDatabaseTopicContent[],
|
||||
) {
|
||||
const response = await fetch(
|
||||
// `https://roadmap.sh/api/v1-sync-official-roadmap-topics`,
|
||||
`http://localhost:8080/v1-sync-official-roadmap-topics`,
|
||||
`https://roadmap.sh/api/v1-sync-official-roadmap-topics`,
|
||||
{
|
||||
method: 'POST',
|
||||
headers: {
|
||||
|
Reference in New Issue
Block a user