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

[SYNC] docs: Fix the confusing example of server.proxy (#4485) #38

Closed
github-actions bot opened this issue Aug 4, 2021 · 0 comments · Fixed by #42
Closed

[SYNC] docs: Fix the confusing example of server.proxy (#4485) #38

github-actions bot opened this issue Aug 4, 2021 · 0 comments · Fixed by #42
Labels

Comments

@github-actions
Copy link
Contributor

github-actions bot commented Aug 4, 2021

docs: Fix the confusing example of server.proxy (#4485) (2faef0b)


+++ b/docs/config/index.md
@@ -396,7 +396,7 @@ export default defineConfig(async ({ command, mode }) => {
server: {
proxy: {
// string shorthand
-        '/foo': 'http://localhost:4567/foo',
+        '/foo': 'http://localhost:4567',
// with options
'/api': {
target: 'http://jsonplaceholder.typicode.com',
@github-actions github-actions bot added the sync label Aug 4, 2021
@Gumball12 Gumball12 mentioned this issue Aug 9, 2021
Gumball12 added a commit that referenced this issue Feb 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

0 participants