Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/src/connector/course_connector.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class CourseConnector {
String value = node.attributes['value'];
data[name] = value;
}
String jumpUrl = "https://app.ntut.edu.tw/${tagNode.getElementsByTagName("form")[0].attributes["action"]}";
String jumpUrl = "${NTUTConnector.host}${tagNode.getElementsByTagName("form")[0].attributes["action"]}";
parameter = ConnectorParameter(jumpUrl);
parameter.data = data;
final response = await Connector.getDataByPostResponse(parameter);
Expand Down
2 changes: 1 addition & 1 deletion lib/src/connector/ntut_connector.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ enum NTUTConnectorStatus {
}

class NTUTConnector {
static const host = "https://app.ntut.edu.tw/";
static const host = "https://nportal.ntut.edu.tw/";
static const _getPictureUrl = "${host}photoView.do";
static const _getTreeUrl = "${host}aptreeList.do";
static const _getCalendarUrl = "${host}calModeApp.do";
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies:
tat_core:
git:
url: [email protected]:NTUT-NPC/TAT-Core.git
ref: e5a9259946f1139fa61a784916192915831fe2c5 # restricted by dart language version. (<3)
ref: 7611fe96ff2bb7bb5341c742d94f869d86d33e1c # restricted by dart language version. (<3)

path: ^1.8.2 # restricted by flutter sdk.
path_provider: ^2.0.15
Expand Down
Loading