File tree 8 files changed +20
-8
lines changed
source_code_step_4/back_end/backend
source_code_step_5/back_end/backend
source_code_step_6/back_end/backend
source_code_step_7/back_end/backend
8 files changed +20
-8
lines changed Original file line number Diff line number Diff line change 132
132
"SCHEMA" : "blog.schema.schema" ,
133
133
}
134
134
135
- CORS_ALLOWED_ORIGINS = ("http://localhost:5173" ,)
135
+ CORS_ALLOWED_ORIGINS = [
136
+ "http://localhost:5173" ,
137
+ ]
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import {
11
11
import { DefaultApolloClient } from "@vue/apollo-composable" ;
12
12
13
13
const httpLink = createHttpLink ( {
14
- uri : "http://localhost:8000/graphql" ,
14
+ uri : "http://localhost:8000/graphql/ " ,
15
15
} ) ;
16
16
17
17
const cache = new InMemoryCache ( ) ;
Original file line number Diff line number Diff line change 132
132
"SCHEMA" : "blog.schema.schema" ,
133
133
}
134
134
135
- CORS_ALLOWED_ORIGINS = ("http://localhost:5173" ,)
135
+ CORS_ALLOWED_ORIGINS = [
136
+ "http://localhost:5173" ,
137
+ ]
Original file line number Diff line number Diff line change 132
132
"SCHEMA" : "blog.schema.schema" ,
133
133
}
134
134
135
- CORS_ALLOWED_ORIGINS = ("http://localhost:5173" ,)
135
+ CORS_ALLOWED_ORIGINS = [
136
+ "http://localhost:5173" ,
137
+ ]
Original file line number Diff line number Diff line change 132
132
"SCHEMA" : "blog.schema.schema" ,
133
133
}
134
134
135
- CORS_ALLOWED_ORIGINS = ("http://localhost:5173" ,)
135
+ CORS_ALLOWED_ORIGINS = [
136
+ "http://localhost:5173" ,
137
+ ]
Original file line number Diff line number Diff line change 132
132
"SCHEMA" : "blog.schema.schema" ,
133
133
}
134
134
135
- CORS_ALLOWED_ORIGINS = ("http://localhost:5173" ,)
135
+ CORS_ALLOWED_ORIGINS = [
136
+ "http://localhost:5173" ,
137
+ ]
Original file line number Diff line number Diff line change 132
132
"SCHEMA" : "blog.schema.schema" ,
133
133
}
134
134
135
- CORS_ALLOWED_ORIGINS = ("http://localhost:5173" ,)
135
+ CORS_ALLOWED_ORIGINS = [
136
+ "http://localhost:5173" ,
137
+ ]
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import {
11
11
import { DefaultApolloClient } from "@vue/apollo-composable" ;
12
12
13
13
const httpLink = createHttpLink ( {
14
- uri : "http://localhost:8000/graphql" ,
14
+ uri : "http://localhost:8000/graphql/ " ,
15
15
} ) ;
16
16
17
17
const cache = new InMemoryCache ( ) ;
You can’t perform that action at this time.
0 commit comments