You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by wa...@apache.org on 2022/12/13 12:35:35 UTC
[dolphinscheduler-website] branch master updated: [Feature] Added 404 page. (#857)
This is an automated email from the ASF dual-hosted git repository.
wanggenhua pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-website.git
The following commit(s) were added to refs/heads/master by this push:
new 3e7c0e83fa [Feature] Added 404 page. (#857)
3e7c0e83fa is described below
commit 3e7c0e83fa69a5518c1c3d3b40170a17fc13262e
Author: Amy0104 <wa...@apache.org>
AuthorDate: Tue Dec 13 20:35:29 2022 +0800
[Feature] Added 404 page. (#857)
---
public/.htaccess | 2 +-
public/404.html | 41 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 42 insertions(+), 1 deletion(-)
diff --git a/public/.htaccess b/public/.htaccess
index 96e734fe0e..de377bfe45 100644
--- a/public/.htaccess
+++ b/public/.htaccess
@@ -1 +1 @@
-ErrorDocument 404 /
+ErrorDocument 404 /404.html
diff --git a/public/404.html b/public/404.html
new file mode 100644
index 0000000000..c76667b444
--- /dev/null
+++ b/public/404.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <meta name="theme-color" content="#000000" />
+ <meta
+ name="description"
+ content="Apache DolphinScheduler is a distributed and easy-to-extend visual workflow scheduler system, dedicated to solving the complex task dependencies in data processing, making the scheduling system out of the box for data processing."
+ />
+ <!--
+ manifest.json provides metadata used when your web app is installed on a
+ user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
+ -->
+ <!--
+ Notice the use of %PUBLIC_URL% in the tags above.
+ It will be replaced with the URL of the `public` folder during the build.
+ Only files inside the `public` folder can be referenced from the HTML.
+
+ Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
+ work correctly both with client-side routing and a non-root public URL.
+ Learn how to configure a non-root public URL by running `npm run build`.
+ -->
+ <title>Apache DolphinScheduler</title>
+ </head>
+ <body>
+ <script>
+ window.location.href = "/";
+ </script>
+ <!--
+ This HTML file is a template.
+ If you open it directly in the browser, you will see an empty page.
+
+ You can add webfonts, meta tags, or analytics to this file.
+ The build step will place the bundled scripts into the <body> tag.
+
+ To begin the development, run `npm start` or `yarn start`.
+ To create a production bundle, use `npm run build` or `yarn build`.
+ -->
+ </body>
+</html>