version
parent
041cdf42ff
commit
2067016020
|
@ -1 +1,2 @@
|
|||
NEXT_PUBLIC_URL=amirmoghi3.ir
|
||||
NEXT_PUBLIC_URL=amirmoghi3.ir
|
||||
NEXT_PUBLIC_VERSION=$npm_package_version
|
|
@ -107,7 +107,7 @@ const Footer: NextPage = () => {
|
|||
</div>
|
||||
<div>
|
||||
<span className="text-secondary text-xs opacity-30 pl-1 md:pl-0 ">
|
||||
@2020 Amir Hossein Moghiseh
|
||||
@2020 Amir Hossein Moghiseh - All Rights Reserved - Version {process.env.NEXT_PUBLIC_VERSION}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "amirmoghi3",
|
||||
"version": "0.1.0",
|
||||
"version": "1.0.2",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
|
||||
import type { NextApiRequest, NextApiResponse } from 'next'
|
||||
|
||||
type Data = {
|
||||
name: string
|
||||
}
|
||||
|
||||
export default function handler(
|
||||
req: NextApiRequest,
|
||||
res: NextApiResponse<Data>
|
||||
) {
|
||||
res.status(200).json({ name: 'John Doe' })
|
||||
}
|
Loading…
Reference in New Issue