mirror of
https://github.com/Qortal/qortal.git
synced 2025-07-22 20:26:50 +00:00
Show informative page instead of "Forbidden" when user tries to access API documentation when disabled.
This commit is contained in:
13
src/main/resources/api-docs-disabled/index.html
Normal file
13
src/main/resources/api-docs-disabled/index.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>API Documentation disabled</title>
|
||||
</head>
|
||||
<body>
|
||||
API documentation pages are currently disabled.
|
||||
<p>
|
||||
To enable, add an entry like this to your <tt>settings.json</tt> file:
|
||||
<p>
|
||||
<code>"apiDocumentationEnabled": true,</code>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user