refactor: follow module syntax
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
const fastify = require('fastify')();
|
import fastify from 'fastify';
|
||||||
const scraper = require('./scraper');
|
import fetch from 'node-fetch';
|
||||||
const fetch = require('node-fetch');
|
import scraper from './scraper.js';
|
||||||
|
|
||||||
|
|
||||||
// Change this later
|
// Change this later
|
||||||
|
|||||||
Reference in New Issue
Block a user