Minor changes

- Updated frontend credit type
- Updated sorting of entry credits in `getEntryById()`
This commit is contained in:
X4Lo committed 2026-04-23 22:23:10 +01:00
1 parent 6aa57cbe71
commit e9bc8886d4
3 files changed
+6 -2

No files matched your search

+2 -1
View File
@@ -162,10 +162,11 @@ export interface Credit {
id: number;
entry_id: number;
people_id: number;
character: string | null;
character: string | null; // might contain multiple separated by ;
cast_type: 'cast' | 'crew';
department: string | null;
job: string | null;
episode_count?: number | null;
order: number | null;
people?: People;
entry?: Entry;
+3
View File
@@ -12,11 +12,14 @@ export default defineConfig({
},
},
server: {
port: 4200,
proxy: {
'/api': {
target: 'http://showyback.coolguy.space',
// target: 'http://localhost:4000',
changeOrigin: true,
},
},
allowedHosts: ['localhost', 'showyback.coolguy.space', 'showy.coolguy.space'],
},
})