@daeryun/dr_components 0.9.52 → 0.9.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -119,7 +119,7 @@ const LoginContainer = ({ layoutClassName = ' relative h-[100vh] max-h-[1200px]
|
|
|
119
119
|
<button type="button" onClick={() => __awaiter(void 0, void 0, void 0, function* () {
|
|
120
120
|
const testToken = `eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZHgiOjE3NCwiZW1haWwiOiJ0ZXN0Zm9yZGFlcnl1bkBnbWFpbC5jb20iLCJwcm92aWRlciI6Imdvb2dsZSIsImlzTmV3IjpmYWxzZSwiaWF0IjoxNzUwMjk1NDkyLCJleHAiOjE3ODE4NTMwOTJ9.nqXEF8oMuQpha1Athzb_282Y9J7O5VyvTo67pjeMmLg`;
|
|
121
121
|
const testLogin = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
122
|
-
const res = yield fetch(`${process.env.NEXT_PUBLIC_SERVICE_DOMAIN}/api/app/auth/temp?jwt=${testToken}&state=${state}`, {
|
|
122
|
+
const res = yield fetch(`${process.env.NEXT_PUBLIC_SERVICE_DOMAIN}/api/lawfirm/app/auth/temp?jwt=${testToken}&state=${state}`, {
|
|
123
123
|
method: 'GET',
|
|
124
124
|
redirect: 'manual', // 중요!
|
|
125
125
|
headers: {
|
|
@@ -173,7 +173,7 @@ const LoginContainer = ({
|
|
|
173
173
|
const testToken = `eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZHgiOjE3NCwiZW1haWwiOiJ0ZXN0Zm9yZGFlcnl1bkBnbWFpbC5jb20iLCJwcm92aWRlciI6Imdvb2dsZSIsImlzTmV3IjpmYWxzZSwiaWF0IjoxNzUwMjk1NDkyLCJleHAiOjE3ODE4NTMwOTJ9.nqXEF8oMuQpha1Athzb_282Y9J7O5VyvTo67pjeMmLg`;
|
|
174
174
|
const testLogin = async () => {
|
|
175
175
|
const res = await fetch(
|
|
176
|
-
`${process.env.NEXT_PUBLIC_SERVICE_DOMAIN}/api/app/auth/temp?jwt=${testToken}&state=${state}`,
|
|
176
|
+
`${process.env.NEXT_PUBLIC_SERVICE_DOMAIN}/api/lawfirm/app/auth/temp?jwt=${testToken}&state=${state}`,
|
|
177
177
|
{
|
|
178
178
|
method: 'GET',
|
|
179
179
|
redirect: 'manual', // 중요!
|