๐
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { DateTime } from 'luxon' | |
import Logger from '@ioc:Adonis/Core/Logger' | |
class LocalCacheService { | |
private cache: { [key: string]: any } = {} | |
timerRef: NodeJS.Timer | |
constructor() { | |
this.timerRef = setInterval(() => { | |
Logger.trace('Auto cleaning expired item') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react" | |
import { Helmet } from "react-helmet" | |
import { siteMetadata } from "../config/sitemetadata" | |
const SEO = ({ title = ``, description = ``, pathname = ``, image = ``, children = null }) => { | |
const { siteTitle, siteTitleAlt: defaultTitle, siteUrl, siteDescription: defaultDescription, siteLanguage, siteImage: defaultImage, author } = siteMetadata | |
const seo = { | |
title: title || defaultTitle, |