mirror of
https://github.com/Ratstail91/sineQL.git
synced 2025-11-29 18:54:27 +11:00
Split the library into smaller files
This commit is contained in:
2
test-server/package-lock.json
generated
2
test-server/package-lock.json
generated
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "test-server",
|
||||
"version": "0.2.0",
|
||||
"version": "0.2.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
||||
@@ -11,9 +11,9 @@ app.use(bodyParser.text());
|
||||
//test the library
|
||||
const schema = require('./schema.js');
|
||||
const handler = require('./handler.js');
|
||||
const sineQL = require('../index.js');
|
||||
const sineQL = require('../source/index.js');
|
||||
|
||||
const sine = sineQL(schema, handler);
|
||||
const sine = sineQL(schema, handler, { debug: true });
|
||||
|
||||
//open the end
|
||||
app.post('/sineql', async (req, res) => {
|
||||
|
||||
Reference in New Issue
Block a user