Skip to content

Commit

Permalink
direct queries
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik committed Jan 26, 2018
1 parent e059132 commit a6399e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

const compression = require(`compression`);
const { SparqlService, PostgresService } = require(`osm-regions/src`);
const { SparqlService, PostgresService, directQueries } = require(`osm-regions/src`);
const app = require(`express`)();
const secrets = require(`./secrets`);
const topojson = require(`topojson`);
Expand Down Expand Up @@ -32,6 +32,7 @@ const sparqlService = new SparqlService({
});

const postgresService = new PostgresService({
queries: directQueries,
host: secrets.host,
port: secrets.port,
database: secrets.database,
Expand Down

0 comments on commit a6399e3

Please sign in to comment.