Tauri (local working) (#128)

* chore(nix): add `cargo-tauri`

* chore(rust): add rustfmt config

* feat: add tauri app

* fix(config): tauri and web config nextjs

* fix: default value

* fix: force graph

* fix: undefined me

* fix: undefined me in page detail

* fix: remove title from search component

* fix: package version

* chore: next config

* feat: random btn for go to auth

* fix the config

* feat: tauri

---------

Co-authored-by: Alice Carroll <git@alice-carroll.pet>
Co-authored-by: Aslam H <iupin5212@gmail.com>
This commit is contained in:
Nikita
2024-09-03 18:37:10 +03:00
committed by GitHub
parent 91f96fe65a
commit 8168af811d
46 changed files with 8990 additions and 34 deletions

View File

@@ -3,7 +3,13 @@
*/
import { NextRequest } from "next/server"
import axios from "axios"
import { DEFAULT_VALUES, GET } from "./route"
import { GET } from "./route"
const DEFAULT_VALUES = {
TITLE: "",
DESCRIPTION: "",
FAVICON: null
}
jest.mock("axios")
const mockedAxios = axios as jest.Mocked<typeof axios>

View File

@@ -11,7 +11,7 @@ interface Metadata {
url: string
}
export const DEFAULT_VALUES = {
const DEFAULT_VALUES = {
TITLE: "",
DESCRIPTION: "",
FAVICON: null