Add cname to metasploit docs
This commit is contained in:
parent
0ee0e3959d
commit
c4c39e97dd
|
@ -0,0 +1 @@
|
|||
docs.metasploit.com
|
|
@ -2,7 +2,7 @@
|
|||
title: 'Metasploit Documentation | Penetration Testing Software, Pen Testing Security'
|
||||
description: View Metasploit Framework Documentation
|
||||
searchTitle: Metasploit Documentation
|
||||
baseurl: '/metasploit-framework'
|
||||
baseurl: ''
|
||||
url: 'https://rapid7.github.io/metasploit-framework'
|
||||
logo: assets/images/favicon.png
|
||||
|
||||
|
|
|
@ -614,10 +614,6 @@ module Build
|
|||
title: 'Google Summer of Code',
|
||||
folder: 'google-summer-of-code',
|
||||
children: [
|
||||
{
|
||||
path: 'GSoC-2020-Project-Ideas.md',
|
||||
title: without_prefix('GSoC')
|
||||
},
|
||||
{
|
||||
path: 'How-to-Apply-to-GSoC.md'
|
||||
},
|
||||
|
@ -625,10 +621,6 @@ module Build
|
|||
path: 'GSoC-2017-Student-Proposal.md',
|
||||
title: without_prefix('GSoC')
|
||||
},
|
||||
{
|
||||
path: 'GSoC-2021-Project-Ideas.md',
|
||||
title: without_prefix('GSoC')
|
||||
},
|
||||
{
|
||||
path: 'GSoC-2017-Project-Ideas.md',
|
||||
title: without_prefix('GSoC')
|
||||
|
@ -645,6 +637,18 @@ module Build
|
|||
path: 'GSoC-2019-Project-Ideas.md',
|
||||
title: without_prefix('GSoC')
|
||||
},
|
||||
{
|
||||
path: 'GSoC-2020-Project-Ideas.md',
|
||||
title: without_prefix('GSoC')
|
||||
},
|
||||
{
|
||||
path: 'GSoC-2021-Project-Ideas.md',
|
||||
title: without_prefix('GSoC')
|
||||
},
|
||||
{
|
||||
path: 'GSoC-2022-Project-Ideas.md',
|
||||
title: without_prefix('GSoC')
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -1048,10 +1052,7 @@ module Build
|
|||
Port: 4000
|
||||
}
|
||||
)
|
||||
server.mount_proc('/') do |_req, res|
|
||||
res.set_redirect(WEBrick::HTTPStatus::TemporaryRedirect, '/metasploit-framework/')
|
||||
end
|
||||
server.mount('/metasploit-framework', WEBrick::HTTPServlet::FileHandler, PRODUCTION_BUILD_ARTIFACTS)
|
||||
server.mount('/', WEBrick::HTTPServlet::FileHandler, PRODUCTION_BUILD_ARTIFACTS)
|
||||
trap('INT') do
|
||||
server.shutdown
|
||||
rescue StandardError
|
||||
|
|
Loading…
Reference in New Issue