Skip to content

Commit

Permalink
Merge pull request #137 from sparcs-kaist/hotfix@change-server-host
Browse files Browse the repository at this point in the history
Change server host to otl.sparcs.org
  • Loading branch information
sboh1214 authored Aug 16, 2023
2 parents a34536d + cd83a57 commit c142f93
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/constants/url.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const BASE_URL = "https://otl.kaist.ac.kr/";
const BASE_URL = "https://otl.sparcs.org/";
const MAIN_URL = BASE_URL + "main";

const SESSION_URL = "session/";
Expand Down
2 changes: 1 addition & 1 deletion lib/pages/login_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class _LoginPageState extends State<LoginPage> {
}

Widget _buildBody(BuildContext context) {
const AUTHORITY = 'otl.kaist.ac.kr';
const AUTHORITY = 'otl.sparcs.org';
Map<String, dynamic> query = {'next': BASE_URL};
if (Platform.isIOS) {
query['social_login'] = '0';
Expand Down
2 changes: 1 addition & 1 deletion lib/widgets/pop_up.dart
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ Widget _buildGraduatePlanner() {
const SizedBox(height: 8.0),
FilledButton(
onPressed: () => launchUrl(
Uri.https("otl.kaist.ac.kr", "planner"),
Uri.https("otl.sparcs.org", "planner"),
),
child: Text.rich(
TextSpan(
Expand Down

0 comments on commit c142f93

Please sign in to comment.