Skip to content

Commit

Permalink
fix: fixed spring configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
nemo83 committed Feb 9, 2024
1 parent c09ab92 commit a53b761
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,18 @@
import jakarta.servlet.DispatcherType;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.core.Ordered;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.web.filter.ForwardedHeaderFilter;

import java.util.List;

@SpringBootApplication(scanBasePackages = "org.cardanofoundation.tokenmetadata.registry")
@EnableJpaRepositories("org.cardanofoundation.tokenmetadata.registry.repository")
@EntityScan(basePackages = "org.cardanofoundation.tokenmetadata.registry.entity")
public class TokenMetadataRegistryApplication {
public static void main(String[] args) {
SpringApplication.run(TokenMetadataRegistryApplication.class, args);
Expand Down

0 comments on commit a53b761

Please sign in to comment.