@windingtree/wt-search-api
Version:
NodeJS app that enables quick search over data from Winding Tree platform
20 lines (18 loc) • 413 B
JavaScript
const knex = require('knex');
module.exports = {
baseUrl: 'https://madrid-search-api.windingtree.com',
readApiUrl: 'https://madrid-api.windingtree.com',
db: knex({
client: 'sqlite3',
connection: {
filename: './.madrid.sqlite',
},
useNullAsDefault: true,
}),
crawlerOpts: {
timeout: 30000,
limit: 10,
triggerIndexing: true,
subscribeForNotifications: true,
},
};