Skip to content
This repository was archived by the owner on Jun 28, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
https all the things (#434)
  • Loading branch information
ahmedre authored and mmahalwy committed Aug 8, 2016
commit dda7f09136f26dcd8a791428fe405fbd4a4f298f
2 changes: 1 addition & 1 deletion server/config/sitemap.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default (server) => {


const xml = sitemap.createSitemap({
hostname: 'http://quran.com',
hostname: 'https://quran.com',
cacheTime: 600000, // 600 sec cache period
urls: [
...urls,
Expand Down
2 changes: 1 addition & 1 deletion src/components/Share/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default class Share extends Component {
render() {

const {surahId, name} = this.props.surah;
const surahUrl = encodeURIComponent(`http://quran.com/${surahId}`);
const surahUrl = encodeURIComponent(`https://quran.com/${surahId}`);

return (
<div className={`${Style.shareContainer} hidden-xs`}>
Expand Down
14 changes: 7 additions & 7 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@ module.exports = Object.assign({
{name: 'google-site-verification', content: 'ehFz7FvmL7V9MzP40F8_kLABhCzqGzMDMrCnUP44Too'},
{name: 'theme-color', content: '#004f54'},
{property: 'og:site_name', content: title},
{property: 'og:image', content: 'http://quran.com/images/thumbnail.png'},
{property: 'og:image', content: 'https://quran.com/images/thumbnail.png'},
{property: 'og:locale', content: 'en_US'},
{property: 'og:title', content: title},
{property: 'og:description', content: description},
{property: 'og:url', content: 'http://quran.com'},
{property: 'og:url', content: 'https://quran.com'},
{property: 'og:type', content: 'website'},
{name: 'twitter:card', content: 'summary'},
{name: 'twitter:title', content: title},
{name: 'twitter:description', content: description},
{name: 'twitter:image', content: 'http://quran.com/images/thumbnail.png'},
{name: 'twitter:image', content: 'https://quran.com/images/thumbnail.png'},
{name: 'twitter:image:width', content: '200'},
{name: 'twitter:image:height', content: '200'}
],
Expand All @@ -59,10 +59,10 @@ module.exports = Object.assign({
"@type": "WebSite",
"name": "Quran",
"alternateName": "Quran.com",
"url": "http://quran.com",
"url": "https://quran.com",
"potentialAction": {
"@type": "SearchAction",
"target": "http://quran.com/search?q={search_term_string}&referrer=sitelinks_searchbox",
"target": "https://quran.com/search?q={search_term_string}&referrer=sitelinks_searchbox",
"query-input": "required name=search_term_string"
}
}`
Expand All @@ -72,8 +72,8 @@ module.exports = Object.assign({
innerHTML: `{
"@context": "http://schema.org",
"@type": "Organization",
"url": "http://quran.com",
"logo": "http://quran.com/images/thumbnail.png"
"url": "https://quran.com",
"logo": "https://quran.com/images/thumbnail.png"
}`
}
],
Expand Down
4 changes: 2 additions & 2 deletions src/containers/Surah/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,14 +381,14 @@ class Surah extends Component {
"@type": "ListItem",
"position": 1,
"item": {
"@id": "http://quran.com/",
"@id": "https://quran.com/",
"name": "Quran"
}
},{
"@type": "ListItem",
"position": 2,
"item": {
"@id": "http://quran.com/${surah.id}",
"@id": "https://quran.com/${surah.id}",
"name": "${surah.name.simple}"
}
}]
Expand Down
2 changes: 1 addition & 1 deletion static/robots.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
User-agent: *

SITEMAP: http://quran.com/sitemap.xml
SITEMAP: https://quran.com/sitemap.xml