Skip to content

Commit

Permalink
FIX: API Host
Browse files Browse the repository at this point in the history
  • Loading branch information
leehj050211 committed May 24, 2024
1 parent b9d99cb commit 92ed3af
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 이현준
Copyright (c) 2024 이현준

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions lib/bsmOauth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export default class BsmOauth {
clientId: string;
clientSecret: string;
};
private readonly BSM_AUTH_TOKEN_URL: string = 'https://auth.bssm.kro.kr/api/oauth/token';
private readonly BSM_AUTH_RESOURCE_URL: string = 'https://auth.bssm.kro.kr/api/oauth/resource';
private readonly BSM_AUTH_TOKEN_URL: string = 'https://api-auth.bssm.app/api/oauth/token';
private readonly BSM_AUTH_RESOURCE_URL: string = 'https://api-auth.bssm.app/api/oauth/resource';

public async getToken(authCode: string): Promise<string> {
try {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bsm-oauth",
"version": "1.0.10",
"version": "1.1.0",
"description": "BSM Auth를 JavaScript에서 쉽게 사용할 수 있는 라이브러리",
"main": "./cjs/index.js",
"module": "./esm/index.js",
Expand Down

0 comments on commit 92ed3af

Please sign in to comment.