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:18:19 UTC
[dolphinscheduler-website] branch master updated: [Feature] Added `.htaccess` (#856)
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 1d1738d008 [Feature] Added `.htaccess` (#856)
1d1738d008 is described below
commit 1d1738d00881288fa8f424e454b53adc1e86fe91
Author: Amy0104 <wa...@apache.org>
AuthorDate: Tue Dec 13 20:18:14 2022 +0800
[Feature] Added `.htaccess` (#856)
---
public/.htaccess | 1 +
public/404.html | 41 -----------------------------------------
2 files changed, 1 insertion(+), 41 deletions(-)
diff --git a/public/.htaccess b/public/.htaccess
new file mode 100644
index 0000000000..96e734fe0e
--- /dev/null
+++ b/public/.htaccess
@@ -0,0 +1 @@
+ErrorDocument 404 /
diff --git a/public/404.html b/public/404.html
deleted file mode 100644
index c76667b444..0000000000
--- a/public/404.html
+++ /dev/null
@@ -1,41 +0,0 @@
-<!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>