parent
2395cddcdf
commit
aa6414b1cc
6 changed files with 20 additions and 20 deletions
|
|
@ -29,7 +29,7 @@ export const POST: RequestHandler = async ({ request }) => {
|
|||
`${API_BASE}/catalog/create/${encodeURIComponent(country)}/${encodeURIComponent(uid)}` +
|
||||
`/${encodeURIComponent(displayName)}/${encodeURIComponent(email)}`;
|
||||
|
||||
console.log('[Catalog Create Proxy] Endpoint:', endpoint, 'slug:', slug);
|
||||
logger.debug('[Catalog Create Proxy] Endpoint:', endpoint, 'slug:', slug);
|
||||
|
||||
const upstream = new FormData();
|
||||
upstream.append('slug', slug);
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ export const POST: RequestHandler = async ({ request }) => {
|
|||
`${API_BASE}/video/mainpage/${encodeURIComponent(uid)}` +
|
||||
`/${encodeURIComponent(displayName)}/${encodeURIComponent(email)}`;
|
||||
|
||||
console.log('[Video MainPage Proxy] Endpoint:', endpoint, 'name:', name);
|
||||
logger.debug('[Video MainPage Proxy] Endpoint:', endpoint, 'name:', name);
|
||||
|
||||
const upstream = new FormData();
|
||||
upstream.append('name', name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue