fix: remove trailig slash
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ if (config.dev) {
|
||||
// Add graphql mocking middleware
|
||||
//addGraphMiddleware(app);
|
||||
|
||||
app.use('/query/', proxy('localhost:6080', {
|
||||
app.use('/query', proxy('localhost:6080', {
|
||||
proxyReqPathResolver: function (req) {
|
||||
return '/query';
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ const { includeCredentials } = require('./middleware');
|
||||
import { onError } from 'apollo-link-error';
|
||||
import { default as webAuth} from '../auth';
|
||||
|
||||
const defaultGraphUri = '/query/';
|
||||
const defaultGraphUri = '/query';
|
||||
const httpLink = new HttpLink({ uri: defaultGraphUri, fetch: includeCredentials, credentials: 'same-origin' });
|
||||
const errorLink = onError(({ graphQLErrors, networkError, operation, forward }) => {
|
||||
if (graphQLErrors) {
|
||||
|
||||
Reference in New Issue
Block a user