mirror of
https://github.com/open-webui/docs.git
synced 2026-07-21 01:55:22 -04:00
refac
This commit is contained in:
@@ -50,6 +50,7 @@ const config: Config = {
|
||||
markdown: {
|
||||
mermaid: true,
|
||||
},
|
||||
clientModules: ["./src/clientModules/ensure-gtag.js"],
|
||||
themes: ["@docusaurus/theme-mermaid"],
|
||||
|
||||
presets: [
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
if (
|
||||
process.env.NODE_ENV !== "production" &&
|
||||
typeof window !== "undefined" &&
|
||||
typeof window.gtag !== "function"
|
||||
) {
|
||||
window.gtag = () => {};
|
||||
}
|
||||
Reference in New Issue
Block a user