mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-22 06:50:53 +08:00
Revert "Expose Google client ID via API config and use dynamically"
This reverts commit 76c2771b7b.
This commit is contained in:
@@ -31,9 +31,6 @@ public class ConfigController {
|
||||
@Value("${app.ai.format-limit:3}")
|
||||
private int aiFormatLimit;
|
||||
|
||||
@Value("${google.client-id:}")
|
||||
private String googleClientId;
|
||||
|
||||
private final RegisterModeService registerModeService;
|
||||
|
||||
@GetMapping("/config")
|
||||
@@ -46,7 +43,6 @@ public class ConfigController {
|
||||
resp.setCommentCaptchaEnabled(commentCaptchaEnabled);
|
||||
resp.setAiFormatLimit(aiFormatLimit);
|
||||
resp.setRegisterMode(registerModeService.getRegisterMode());
|
||||
resp.setGoogleClientId(googleClientId);
|
||||
return resp;
|
||||
}
|
||||
|
||||
@@ -59,6 +55,5 @@ public class ConfigController {
|
||||
private boolean commentCaptchaEnabled;
|
||||
private int aiFormatLimit;
|
||||
private RegisterMode registerMode;
|
||||
private String googleClientId;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user