Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debug ビューの分離 #8

Open
dotnsf opened this issue Jan 14, 2022 · 4 comments
Open

debug ビューの分離 #8

dotnsf opened this issue Jan 14, 2022 · 4 comments

Comments

@dotnsf
Copy link
Owner

dotnsf commented Jan 14, 2022

app.js から debug ビューへのリダイレクトをやめる。

@dotnsf
Copy link
Owner Author

dotnsf commented Jan 14, 2022

意外と難しい気がしてきた。/__system/debug に相当する部分を環境変数化するべきか?

@dotnsf
Copy link
Owner Author

dotnsf commented Jan 14, 2022

うまく分離はできなかったが、ログイン後にジャンプするページは環境変数化したので、これでいったん対応済みとする。

@dotnsf dotnsf closed this as completed Jan 14, 2022
dotnsf added a commit that referenced this issue Jan 14, 2022
@dotnsf dotnsf reopened this Jan 16, 2022
@dotnsf
Copy link
Owner Author

dotnsf commented Jan 16, 2022

以下の手順であればできそう:

(1) / または( /__system/debug )にアクセス
(2) ログインしていないので /__system/login に転送され、ログイン処理
(3) ログインに成功すると /__system/callback に転送され、レスポンス JSON 表示
(4) 手動で /__system/debug にアクセスする
(5) "Logout" すると /__system/logout でログアウト処理が行われ、/__system/debug に転送(再表示)される

(4) の部分が面倒

dotnsf added a commit that referenced this issue Jan 16, 2022
@dotnsf
Copy link
Owner Author

dotnsf commented Jan 16, 2022

work-8 ブランチで修正してみたが、↑の手順が便利とは思えない・・・

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant