Skip to content
This repository was archived by the owner on Sep 21, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 2 additions & 2 deletions app/routes/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export default class HomeRoute extends Route {
@service store;

async model() {
let decklists = await this.store.findAll('decklist', {
filter: { sort: '-created_at' },
let decklists = await this.store.query('decklist', {
sort: '-created_at',
page: { size: 10 },
});

Expand Down
4 changes: 2 additions & 2 deletions config/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module.exports = function (environment) {
},

// API_URL: 'http://localhost:3000/api/v3',
API_URL: 'https://api-preview.netrunnerdb.com/api/v3',
API_URL: 'https://api.netrunnerdb.com/api/v3',
googleFonts: ['Merriweather Sans', 'Outfit', 'Inter', 'Nova Mono'],

APP: {
Expand Down Expand Up @@ -60,7 +60,7 @@ module.exports = function (environment) {
}

if (environment === 'production') {
ENV.API_URL = 'https://api-preview.netrunnerdb.com/api/v3';
ENV.API_URL = 'https://api.netrunnerdb.com/api/v3';
ENV['ember-simple-auth-oidc'].clientId = 'nrdb-v2';
ENV['ember-simple-auth-oidc'].afterLogoutUri =
'https://v2.netrunnerdb.com/';
Expand Down