Skip to content

Commit 5b38f1b

Browse files
Add cors to func
1 parent 9c9ea06 commit 5b38f1b

3 files changed

Lines changed: 17 additions & 52 deletions

File tree

Func/local.settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@
33
"Values": {
44
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
55
"FUNCTIONS_WORKER_RUNTIME": "dotnet-isolated"
6+
},
7+
"Host": {
8+
"CORS": "*"
69
}
710
}

web/index.html

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
<!doctype html>
22
<html lang="en">
3-
<head>
3+
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
5+
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>web</title>
8-
</head>
9-
<body>
7+
<meta name="theme-color" content="#000000" />
8+
<base href="/" />
9+
<meta name="robots" content="index,follow" />
10+
<meta name="title" content="Convert VB.NET to/from C# online" />
11+
<meta name="keywords" content="convert, c#, csharp, cs, VB, VB.NET, Visual Basic,code converter, csharp to vb, vb to csharp, c#, vb.net, vb, convert,free, Roslyn, code, converter, tool, conversion, file, class, module, refactoring, open source, oss" />
12+
<meta name="description" content="Completely free and open source code converter. Convert snippets online, or download the Visual Studio Extension or command line to convert whole projects/solutions and increase conversion accuracy." />
13+
<meta name="google-site-verification" content="aosecidc9TBJtszGyqGIJAXcr52U6czfoDXhQYsCvBY" />
14+
<link rel="manifest" href="/manifest.json" />
15+
<title>Code Converter: VB &lt;-&gt; C#</title>
16+
</head>
17+
<body>
1018
<div id="root"></div>
1119
<script type="module" src="/src/main.tsx"></script>
12-
</body>
20+
</body>
1321
</html>

web/public/index.html

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)