Skip to content

Commit 92ce689

Browse files
Readme fixups
1 parent 167cf31 commit 92ce689

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

web/README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,14 @@
22
* Run the Web project in Visual Studio to run a minimal C# server to serve the static site, a conversion endpoint and swagger
33

44
### To use with Azure functions
5-
* You can change the api source to any source set up in [ClientSettings.json](https://github.com/icsharpcode/CodeConverter/blob/master/Web/ClientApp/src/ClientSettings.json). e.g. append `?apisource=HostedFunc` to the url
6-
* You can change the default api source in [index.html](https://github.com/icsharpcode/CodeConverter/blob/master/Web/ClientApp/public/index.html#L3)
5+
* You can change the api source to any source set up in [ClientSettings.json](https://github.com/icsharpcode/CodeConverter/blob/master/web/src/ClientSettings.json). e.g. append `?apisource=HostedFunc` to the url
6+
* You can change the default api source in [index.html](https://github.com/icsharpcode/CodeConverter/blob/master/web/index.html)
77

88
#### Examples
99
* In live: https://icsharpcode.github.io/CodeConverter?apisource=HostedFunc
1010
* Local debugging:
11-
* Host the static site by running `npm start` in the Web/ClientApp folder
11+
* Host the static site by running `npm start` in the web folder
1212
* Start the Func project in Visual Studio
13-
* Visit http://localhost:3000/?apiSource=LocalFunc
13+
* Visit http://localhost:5173/?apiSource=LocalFunc
1414
* Run `npm run build` to create a dist folder ready for deployment on any other static host
1515

16-
### More detail on build process
17-
18-
See https://create-react-app.dev/docs/getting-started/ for details on customizing

0 commit comments

Comments
 (0)