- Auth page is used when sign in at the admin page.
// line 20
fetch('https://us-central1-music-shorts.cloudfunctions.net/api/auth/token/swap',
// to
fetch('[your server url]/auth/token/swap',
// line 1
const baseUrl = 'https://us-central1-music-shorts.cloudfunctions.net/api';
// to
const baseUrl = '[your server url]';
firebase deploy --only hosting:auth
firebase deploy --only hosting:admin
After sign in to admin and change current user's data like that