Skip to content

Commit 99f41b3

Browse files
authored
Merge pull request #220 from AndrewCS149/testWorkflow
testWorkflow
2 parents 44ba55b + e082d84 commit 99f41b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/src/api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use gloo_net::http::{Headers, Method, RequestBuilder, Response};
33
use wasm_bindgen::JsValue;
44

55
// const URL: &str = "http://localhost:32778/api/";
6-
const URL: &str = "https://thedevblog.net/api/";
6+
const URL: &str = "https://andrewtest.org/api/";
77

88
#[derive(Clone, PartialEq)]
99
pub enum Api {

server/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public static void Main(string[] args)
2323
// --------------------- CORS POLICY ------------------------------
2424
builder.Services.AddCors(options =>
2525
{
26-
options.AddPolicy("AllowSpecificOrigin", b => b.WithOrigins("http://localhost").AllowAnyHeader().AllowAnyMethod());
26+
options.AddPolicy("AllowSpecificOrigin", b => b.WithOrigins("https://andrewtest.org").AllowAnyHeader().AllowAnyMethod());
2727
});
2828

2929
// Add services to the container.

0 commit comments

Comments
 (0)