Fixed using the correct token for Explore

no issue

- The `adminKey.secret` property is already in the correct format of `admiKey.Id:adminKey.secret` so we were returning the id twice as query param
- Minor style adjustments for Explore
This commit is contained in:
Aileen Nowak 2022-08-03 11:21:46 +01:00 committed by Aileen Booker
parent 38a12f4e18
commit c263f48b79
2 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@ export default class ExploreController extends Controller {
const explore = this.model.findBy('slug', 'ghost-explore');
const adminKey = explore.adminKey;
return `${adminKey.id}:${adminKey.secret}`;
return adminKey.secret;
}
@action

View File

@ -46,12 +46,12 @@
}
.explore-header h1 {
margin: 2rem 0 0;
font-size: 3.7rem;
margin: 1.6rem 0 0;
font-size: 3.6rem;
text-align: center;
font-weight: 700;
letter-spacing: -.03em;
line-height: 45px;
line-height: 40px;
}
.explore-api {