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

native repo 404 #20

Open
githubyong opened this issue Oct 26, 2018 · 1 comment
Open

native repo 404 #20

githubyong opened this issue Oct 26, 2018 · 1 comment

Comments

@githubyong
Copy link

I cloned repo to my local and config application.yml as:
server: port: 8888 spring: cloud: config: server: native: search-locations: D:/test/spring-cloud-config-repo/ profiles: active: native
but some url pattern doesn't work,test result like this:
"http://localhost:8888/foo-db.properties" √
"http://localhost:8888/foo-development.properties" √
"http://localhost:8888/foo.properties" (type=Not Found, status=404).
"http://localhost:8888/test.json" (type=Not Found, status=404).
"http://localhost:8888/books.xml" (type=Not Found, status=404).
and than i copyed books.xml to books-dev.xml but the "http://localhost:8888/books-dev.xml" return "(type=Not Found, status=404)" too.

@githubyong
Copy link
Author

githubyong commented Oct 26, 2018

I got it in spring Documentation ,use path as /{name}/{profile}/{label}/{path}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant