Dependencies updated & small enhancements (#27)
* Dependencies updated and imports shortened * Head tags refactored * Final tweaks
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { ApolloServer, gql, IResolvers } from "apollo-server-micro";
|
||||
import { NextApiHandler } from "next";
|
||||
import NextCors from "nextjs-cors";
|
||||
import { googleScrape, textToSpeechScrape } from "../../utils/translate";
|
||||
import { googleScrape, textToSpeechScrape } from "@utils/translate";
|
||||
|
||||
export const typeDefs = gql`
|
||||
type Query {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { NextApiHandler } from "next";
|
||||
import NextCors from "nextjs-cors";
|
||||
import { googleScrape, textToSpeechScrape } from "../../../utils/translate";
|
||||
import { googleScrape, textToSpeechScrape } from "@utils/translate";
|
||||
|
||||
type Data = {
|
||||
translation?: string,
|
||||
|
||||
Reference in New Issue
Block a user