cleanup
Some checks failed
deploy / deploy (push) Failing after 26s

This commit is contained in:
Lee
2024-04-08 04:51:17 +01:00
parent ac29beca3a
commit 2dd055d156
21 changed files with 58 additions and 569 deletions

View File

@ -0,0 +1,20 @@
package cc.fascinated.config;
import jakarta.annotation.PostConstruct;
import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
@Configuration
@Getter
public class Config {
public static Config INSTANCE;
@Value("${public-url}")
private String webPublicUrl;
@PostConstruct
public void onInitialize() {
INSTANCE = this;
}
}