Skip to content

Commit e1da857

Browse files
committed
no ssr
1 parent 3c72482 commit e1da857

6 files changed

+3
-72
lines changed

angular.json

+1-6
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,7 @@
5757
"src/styles/variables.scss",
5858
"src/styles/styles.scss"
5959
],
60-
"scripts": [],
61-
"server": "src/main.server.ts",
62-
"prerender": true,
63-
"ssr": {
64-
"entry": "server.ts"
65-
}
60+
"scripts": []
6661
},
6762
"configurations": {
6863
"production": {

server.ts

-54
This file was deleted.

src/app/app.config.ts

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import { provideHttpClient, withFetch } from '@angular/common/http';
88
export const appConfig: ApplicationConfig = {
99
providers: [
1010
provideAnimations(),
11-
provideClientHydration(),
1211
provideHttpClient(withFetch()),
1312
provideRouter(routes),
1413
]

src/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8">
5-
<title>MusicPlayer</title>
5+
<title>Music Player</title>
66
<base href="/">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
88
<meta name="theme-color" content="#3C3481" />

src/main.server.ts

-7
This file was deleted.

tsconfig.app.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
]
99
},
1010
"files": [
11-
"src/main.ts",
12-
"src/main.server.ts",
13-
"server.ts"
11+
"src/main.ts"
1412
],
1513
"include": [
1614
"src/**/*.d.ts"

0 commit comments

Comments
 (0)