Sherlock Holmes

Founder and CTO at Genware Computer Systems

Sherlock Holmes was the Founder and CTO of Genware from 1999, and the President of the same company from 1999. Prior to that, they were the Director of Blueflame from 1995.

package com.example.demo.config;

import org.springframework.context.annotation.Bean;

import org.springframework.context.annotation.Configuration;

import org.springframework.web.servlet.config.annotation.CorsRegistry;

import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

@Configuration

public class CorsConfig {

@Bean

public WebMvcConfigurer corsConfigurer() {

return new WebMvcConfigurer() {

@Override

public void addCorsMappings(CorsRegistry registry) {

registry.addMapping("/**")

.allowedOrigins("http://localhost:8080")

.allowedMethods("GET", "POST", "PUT", "DELETE")

.allowCredentials(true)

.maxAge(3600);

}

};

}

}

Links


Org chart

Sign up to view 5 direct reports

Get started