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

feat: banner for puris backend #556

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,16 @@
public class PurisApplication {

public static void main(String[] args) {
SpringApplication.run(PurisApplication.class, args);
SpringApplication app = new SpringApplication(PurisApplication.class);
app.setBanner((environment, sourceClass, out) -> {
out.println(" ____ _ ____ _ _");
out.println(" | _ \\ _ _ _ __(_)___ | __ ) __ _ ___| | _____ _ __ __| |");
out.println(" | |_) | | | | '__| / __| | _ \\ / _` |/ __| |/ / _ \\ '_ \\ / _` |");
out.println(" | __/| |_| | | | \\__ \\ | |_) | (_| | (__| < __/ | | | (_| |");
out.println(" |_| \\__,_|_| |_|___/ |____/ \\__,_|\\___|_|\\_\\___|_| |_|\\__,_|");
out.println();
});
app.run(args);
}

@Bean
Expand Down
Loading