Skip to content

Commit 0a73daf

Browse files
Merge pull request #170 from DevKor-github/main
[Merge] main to deploy(Firebase 프로젝트 새로 생성하여 json파일(인증키의 일종) 수정)
2 parents eb84690 + e7d911b commit 0a73daf

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

ontime-back/.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
src/main/resources/application.properties
2-
src/main/resources/ontime-push-firebase-adminsdk-gnpxs-7d098872ff.json
2+
src/main/resources/ontime-c63f1-firebase-adminsdk-fbsvc-a043cdc829.json
33
src/main/resources/key/AuthKey_743M7R5W3W.p8
44

55
HELP.md

ontime-back/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ dependencies {
5656

5757
// firebase
5858
implementation 'com.google.firebase:firebase-admin:9.2.0'
59+
implementation group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.2.2'
5960

6061
// flyway
6162
implementation 'org.flywaydb:flyway-core'

ontime-back/src/main/java/devkor/ontime_back/config/FirebaseInitialization.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ public void initialize() {
2020
// FileInputStream serviceAccount =
2121
// new FileInputStream("C:/Users/junbeom/Desktop/24-2/Devkor/Ontime/ontime-back/src/main/resources/ontime-push-firebase-adminsdk-gnpxs-7d098872ff.json");
2222

23-
InputStream serviceAccount = getClass().getClassLoader().getResourceAsStream("ontime-push-firebase-adminsdk-gnpxs-7d098872ff.json");
23+
InputStream serviceAccount = getClass().getClassLoader().getResourceAsStream("ontime-c63f1-firebase-adminsdk-fbsvc-a043cdc829.json");
2424
if (serviceAccount == null) {
25-
throw new FileNotFoundException("Resource not found: ontime-push-firebase-adminsdk-gnpxs-7d098872ff.json");
25+
throw new FileNotFoundException("Resource not found: ontime-c63f1-firebase-adminsdk-fbsvc-a043cdc829.json");
2626
}
2727

2828
FirebaseOptions options = new FirebaseOptions.Builder()

0 commit comments

Comments
 (0)