File tree Expand file tree Collapse file tree
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 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 132132 "SCHEMA" : "blog.schema.schema" ,
133133}
134134
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 {
1111import { DefaultApolloClient } from "@vue/apollo-composable" ;
1212
1313const httpLink = createHttpLink ( {
14- uri : "http://localhost:8000/graphql" ,
14+ uri : "http://localhost:8000/graphql/ " ,
1515} ) ;
1616
1717const cache = new InMemoryCache ( ) ;
Original file line number Diff line number Diff line change 132132 "SCHEMA" : "blog.schema.schema" ,
133133}
134134
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 132132 "SCHEMA" : "blog.schema.schema" ,
133133}
134134
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 132132 "SCHEMA" : "blog.schema.schema" ,
133133}
134134
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 132132 "SCHEMA" : "blog.schema.schema" ,
133133}
134134
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 132132 "SCHEMA" : "blog.schema.schema" ,
133133}
134134
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 {
1111import { DefaultApolloClient } from "@vue/apollo-composable" ;
1212
1313const httpLink = createHttpLink ( {
14- uri : "http://localhost:8000/graphql" ,
14+ uri : "http://localhost:8000/graphql/ " ,
1515} ) ;
1616
1717const cache = new InMemoryCache ( ) ;
You can’t perform that action at this time.
0 commit comments