package be.naaturel.boardmateapi.configurations.properties;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class AppProperties {

    @Value("${sec.cors.authorizedHots}")
    public String[] authorizedHosts;

    @Value("${sec.cors.authorizedMethods}")
    public String[] authorizedMethods;

    @Value("${sec.cors.authorizedHeader}")
    public String[] authorizedHeaders;

    @Value("${spring.mongodb.uri}")
    public String connectionString;

    @Value("${spring.mongodb.database}")
    public String database;

}
